On these pages are my WordPress plugins, the odd article and my Support Forum.

For my random rantings on everything else please visit my blog at Yellow Swordfish

WP Plugins


Articles

If you find any of my plugins useful, please comsider a donation towards my running costs.

Thank you

In preparation for the release of the first beta of Simple:Press Version 4.0, the Support Forum has moved to a new site dedicated to the plugin. This will also be the future home for Simple:Press Forum.


Version 3.1.4 will still be available for download here in the short term.


For the support forum - and to visit our new site click on the logo to take you to simplepressforum.com

This forum is currently locked - access is read only
Current User: Guest
Please consider registering

 
Search Forums:


 




Images in Forum Headers

UserPost

1:22 am
1 May 2007


Joe

Guest

1

Andy,

A vendor would like to sponsor a forum within our discussion board. 

We would like to include a the vendor's logo in the forum header or on a forum page they will be sponsoring.

It appears that the Forum name is an entry in the database. So I am a bit lost to know if a forum can be sponsored with a logo and how one might accomplish it. 

Thanks for your thoughts and assistance.

Joe

 

 

9:18 am
1 May 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

2

Look in the User Guide. There are currently 10 'hooks' that allow you to insert any content you like in a variety of places. 

Although, of course, these are not 'forum specific', which I suppose would suit you better. But you could filter the hook on a specific forum easily enough (by the id). So it can work.

I could also consider a more precise mechanism for the future. 

1:42 pm
25 Aug 2007


Doc

Member

posts 49

3

What is the right syntax for a change in the hook phrase?

function sf_hook_post_forum($forumid)
{
if($forumid=7)

{
$out.= ‘TEST’."\n";
}
return $out;

}

The "Text" String appears now below every forum listed in the mainpage although my if=7 order. An code example is missing in ur documentation. Thatswhy i´m asking.

1:56 pm
25 Aug 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

4

A single ‘=’ is an assignment. For a conditional test you need ‘==’ - i.e, two eqauls signs.

2:06 pm
25 Aug 2007


Doc

Member

posts 49

5

thx - now it works fine :-)

Did u get my email from yesterday? Maybe its spamblocked? Your reply I had to pull out of the junk folder too. But I answered to your main-address, so I wonder ´bout.

2:49 pm
25 Aug 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

6

I only got the first one where you talked about the password. There is nothing in my spam folder either.

4:06 pm
25 Aug 2007


Doc

Member

posts 49

7

I paste it here:

"Hi Andy,

now it works. Thanks so far.
The only thing I had to  do is to load up a new avatar. the old one was gone but the signature  was kept by the system. Anyway:
I am using wp 2.2 … with a german language pack. I am wondering ´bout
no other users have had such problems. My first impression was you were
kicking me out of the usertable … OR ur sqlfile is damaged.

anyway … i have found another bug:

The page navigation buttons (1,2,3…) in the forum-view pushes me back
into the start-forum page. Interestingly … if I select the forum-page
(maybe "2" displaed in brackets) directly from the startpage, i get into
the right site. Understand?

best regards

the reincarnated Doc"

4:35 pm
25 Aug 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

8

I think I know what you mean and it is fixed in the next release coming to a download near you soon!

4:57 pm
8 Nov 2007


ricardo

Guest

9

Hi Andy!

Here I am again needing help…

This time to put the forum logo before the forum itself.

I understand that I’ve to use the "function sf_hook_pre_content()" but I don’t know what code to use to "call" the logo to the top of the forum…

And I don’t know if I can use an image located in my flickr account or if it has to be in the plugin folder.

Help me please.

Thanks! 

5:42 pm
8 Nov 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

10

You use standard HTML syntax. So the hook function needs to return an image tag. Like:

return ‘<img src="….. image source url…." alt="" title="" />’;

Yes it could come from your flickr account and I guess that will get cached so it might not be too slow. Othewise you can out it anywhere on your server as long as the url in the tag above is correct.

6:29 pm
8 Nov 2007


ricardo

Guest

11

Andy, thanks again!

Now I see how it works…

I’ve put also adsense code in the forum, but the <div aligh=center> does not work on it…

With the header logo it works fine, it’s now centered, but with the adsense code it doesn’t…

:( 

6:33 pm
8 Nov 2007


Yellow Swordfish

Admin

Peterborough, England

posts 5252

12

You may need to place the CSS in context. Prefix the adsense CSS with the specific forum CSS ‘path’. Look in your forum skin CSS file, you should be able to find the right directives.

3:48 am
2 Feb 2008


Glen

Guest

13

Hello,

I’m not a programmer, and I lover you forum.  I downloaded it tonight, and got it up and running at NativeDish.com … my only problem is, how do I change the name "Simple Forum" to "Native Dish Topic" on both the side bar and on the header.

 Thanks,

Glen

9:32 am
2 Feb 2008


Yellow Swordfish

Admin

Peterborough, England

posts 5252

14

Change the title of the ‘page’ (Manage > Pages)  record currently named  ‘Simple Forum’.



Reply to Topic: Images in Forum Headers

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 1 + 7        (Required)

Topic Reply:


 
 

About the Stuff at Yellow Swordfish forum

Currently Online:

14 Guests

Maximum Online: 71

Forums:

Groups: 3

Forums: 16

Topics: 2068

Posts: 14091

Members:

There are 1003 members

There are 837 guests


Yellow Swordfish has made 5252 posts

Top Posters:

Mr Papa - 1602

-Radio- - 558

ovizii - 114

jfv - 82

angelic007 - 72

Administrator: Yellow Swordfish | Moderators: Yellow Swordfish, Mr Papa, -Radio-


© Simple:Press Forum - Version 3.1.4 (Build 357)