![]() |
What technique did they use on Sitepoint.com? I noticed they have some text, and an image over it. How can I achieve this setup?
|
The text is just part of the image there.
But anyway, you can change the sponsor template, and add anything you want there. |
|
Use this as your template:
Code:
<tr id="cat"> |
Thanks again!:D
|
I also added a text field to the database that allows me to put a description or lead-in text next to the forum sponsor image.
I am still playing with the aesthetics, but you can see what I am doing here: http://www.eaforums.com/forumdisplay.php?s=&forumid=38 Amy |
I have test it . It looks like wounderful.
Just make it strong more ... |
I've been lookig for a hack like this since I saw SPF.
Thanks FireFly. I just add some templates for it to show also the number of post in each category (needed if you want to set to 1 the depth of your forums and justify the prize you want they to pay to be anounced there). I just test it on my test forum: http://www.dondepuedo.com/prueba/ As soon as I finish my exams I will put it on the main forums (www.dondepuedo.com/foro) Thanks again. PS: Please, excuse my English (I'm from Spain) |
Thanks a lot for the kind words Danielillo. :)
[QUOTE]Originally posted by DYer I have test it . It looks like wounderful. Just make it strong more ... |
ahhhhhhhhh this is what I've been looking for :)
will let you know how it goes once I've installed it later |
Nice hack .. but i think ill wait for 2.0.4 too :D
|
Great Hack working perfectly and easy to install on 2.0.3
|
Hi,
first of all i want to say that this hack is absolutely great! FireFly nice work! :) One request: The ability to add Banners for a certain Forum. Supported by Pics on the Forum Home Page at Categories _and_ the option to add Banners (468x60 or else) in each forum. Regards, |
There is an extension for this hack on page two of this thread that allows you to add banners to your forums
|
Quote:
|
Quote:
Amy |
works wonderfully. and another great hack by firefly :).
|
good **** firefly, good ****....
|
When I go to cpanel and tried to modify the forum, I get this parse error on this line in forum.php:
PHP Code:
|
Works excellent.....live example at http://www.systemlogic.net/boards
|
SystemLogic:
That really looks good. Thanks. :) ForzaGrifo: Can you please paste the complete error message here? This function is used on almost all files, you really shouldn't have a problem with it. Is this the only place you get this error? |
Thanks alot for this, I've been using it for a little while without a glitch! :D
|
Works Great!
Thanks! ;) |
I've just started using this hack on my forum (finally!), and it was easy as I could have hoped to get it working :)
I was wondering if it would be possible to, perhaps in a future version, have a counter that would count click-thrus...? Thanks for another great piece of code!! :D |
Yep, I was thinking the same thing..
I am going to set mine up to keep a record of hits for each sponsor.... easy enough to do.. :) |
Quote:
|
Sure man.. Just upload a script to count clicks to a url...
I have attached a basic one, that should work just fine for you... ;) Read the read me file and you will be all set.... You will just be linking to: http://yourdomain.com/cgi-bin/blah blah/clickcount.cgi?action=jump&URL=http://yoursponsor.com Really easy and fast to setup... ---------------------------------------------------------------------------- I would like to see this added to the Hack itself... Like next to the picture (image) for the sponsor | a cell on top "Hits" and then under that the count on bottom? (as a option that can be turned on or off) Ofcourse you could just remove the code (hehe) I will be trying to set mine up in this way later... <edit> well maybe this information is not needed to be public.. *thinks* |
You kick much bottom. Thanks!
|
Blah, I do not think I am going to add the count view to public,
But others may like this feature? Maybe it could be added to this hack... :) I just added the click count to the admin CP, thats good enuff for me! |
I've added the banner to my forumdisplay using the code on page 2 - how would I go about adding this to my threads as well? I tried using similar code, but I don't know if showthread.php parses $foruminfo properly(??).
Any idea?:confused: Ta:) Mark |
Nice Hack FireFly works great
|
Well I tried to add this to PHP include, then use it on the forums
PHP Code:
Well this only placed the number of clicks above the logo , and return the number "1" were the correct number was sup.. to be.. I just* got vBulletin and have not had time to read all the information on it, nor do I understand how it works at all (heh) But I woud have figure you add that to phpinclude and then use it.. anyone have any ideas? :) |
Quote:
Everyone seems to have no problem but I'm having tons of problem! Here's the error message when I tried to add a forum in vb's cpanel: Fatal error: Call to undefined function: makeinputcode() in /home/everyone/public_html/forum/admin/forum.php on line 123 Line 123 is this line: ?makeinputcode("Sponsor name","sponsorname"); In the cpanel I would see the add forum screen but after the "Sponsor(only supported by categories)" header, it gets cut off and the rest of the input fields are not shown. And I'm getting this error when I try to show my forums: Parse error: parse error in /home/everyone/public_html/forum/index.php on line 365 Line 365 in my index.php is this: if?($forum['sponsorimg']?&&?$forum['cancontainthreads']==0?&&?$depth==1)?{ Which doesn't make any sense. It seems it's not regconizing the fact that I have added the new fields in the forum tables, and I'm sure that I have added them to the table. Please help!!!:( |
MarkB:
PHP Code:
Well, the first error I have NO idea what is all about. That function is used on ALL admin pages, can't understand what it's producing an error here. About the second error: Can you paste a line or two BEFORE line 365? Maybe you deleted a ; or }, I dunno. :confused: |
makeinputcode("Sponsor banner file<br>(your default images folder is added, no need in that)","sponsorimg");
Shouldn't that be "sponsoring" ? Also, I would like all my sponsor images in a subfolder under images. Can you help me with this? |
Quote:
when you enter the path to the image just enter: /images/sponsors/blahblah.gif or what folder you create and sponsors image name... |
[QUOTE]Originally posted by SirSteve
makeinputcode("Sponsor banner file<br>(your default images folder is added, no need in that)","sponsorimg"); Shouldn't that be "sponsoring" ? Also, I would like all my sponsor images in a subfolder under images. Can you help me with this? |
[QUOTE]Originally posted by YourHostSucks
when you enter the path to the image just enter: /images/sponsors/blahblah.gif or what folder you create and sponsors image name... |
doh, yea i have mine setup in the /sponsor folder..
and /sponsors/blah.jpg just a brain fart -=/ |
Quote:
Thanks. |
All times are GMT. The time now is 04:16 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|