![]() |
Quote:
http://www.suprascene.com/supraforums |
Quote:
I got it to work on the main page. It is the forumdisplay that does not show. I am using 2.21 |
I tried to extend the hack so image shows in forumdisplay but it does not work. The only thing that I am not sure is where to include the template in what list?
|
I put mine in the forum display template, right above the $forumslist variable.
Amy |
I meant
forumdisplay_sponsoredby you said that you placed it in the list of required templates. Where is that list? |
Ah gotcha!
There is a link to add new templates. Click the link, pick the template set that you want to use it in, and then paste in the code that I supplied. Amy |
I did all that before. I thought you meant to place it in forumdisplay.php templatesused=
Any way I can't get it to work on forum display. On main page it is fine... |
I got it to work but it is not what I was hoping. Maybe you can help?
Look here and you will see image. Click on main category. This is where I wanted to show it also. Yours shows in Forum 1 which is even great. |
I fixed that on mine as well.
Right now, you placed the code somewhere beneath this PHP Code:
PHP Code:
Amy |
can someone edit my forum.php file. I have tryed and still can get it to work, thanks
|
hypedave,
Please note that posting entire vBulletin scripts is not allowed. Thanks, Bira |
yeah I forgot about that, oops sorry, well can someone still help me out, oh yeah, I hate it when people call me hyperdave
if I wanted an r in hype I would add one, thanks :) |
First of all... great hack firefly... nice mods too amykhar!
Got it working great on forum home and forum display... now trying to get it to show-up on threads, ie; if a forum is sponsored, the threads within that forum inherit the sponsor and display it on each thread. tried building duplicate template called sponsoredby_thread, with the following: PHP Code:
Added "$sponsoredby" in the template showthread... Seems to be some kind of path issue? Picks up a holdedr for the image (including alt text), but no sponsor image and no link. Any ideas? Am I doing this all wrong? Thanks in advance for any assistance and thanks again for the hack. VERY useful. |
Hello,
I have followed the steps and added some sponsors in my admin system. Unfortunately, they are not showing up on my Forums homepage where they should be. When I go to edit the admin, it does not pre-fill in the form fields for sponsor information. Can anybody shed any light on this? All the best, Kind Regards, Ross Williams |
PLEASE - can anybody help? I know this hack has been around for a while, and I've been looking forward to installing it, but for some reason no sponsors are appearing on my forums homepage (http://www.servicepals.com/forums). I'm running vBulletin 2.2.1 and vbPortal.
I can add visitors in the backend, but when I go to edit that forum again, the input fields are not pre-filled with the info I just entered. Is this normal? The forums are not showing up on my front end, but I would like to clarify the backend first to diagnose what the problem is...sniff sniff... :( Cheers for now, Ross |
Start with the original forum.php file, and re-install the hack on it.
|
Hi Firefly,
Will do - how likely is this to solve the problem? Has my phenomena been seen before? Ross |
SUCCESS.
I suspect that I'd missed one of the queries out on the forum.php part of the hack. All working now. Anybody know how I can incorporate a Commission Junction Smartzone into this code? Reason being that I'd like to rotate the sponsors of each forums without input on my part (I is a lazy bugger). Cheers for now, Ross |
Hello,
I've been trying to incorporate Amy's addition, allowing us to display the sponsor at the top of the forum. Have modified forumdisplay.php, created the new template, but am having problems with this bit : Quote:
Hugely impressed with this hack guys, Cheers, Ross |
add it to the section "$templatesused="
Now if I could get some help with my problem above I would be most thankful! Gotta have it! :) |
appreciate the hack!
|
Anyone ? Purdy Please?
First of all... great hack firefly... nice mods too amykhar! Got it working great on forum home and forum display... now trying to get it to show-up on threads, ie; if a forum is sponsored, the threads within that forum inherit the sponsor and display it on each thread. tried building duplicate template called sponsoredby_thread, with the following: PHP Code:
Modified showthread per iinstructions found here, calling that new template. Added "$sponsoredby" in the template showthread... Seems to be some kind of path issue? Picks up a holdedr for the image (including alt text), but no sponsor image and no link. Any ideas? Am I doing this all wrong? Thanks in advance for any assistance and thanks again for the hack. VERY useful. |
Okay, I'm guessing one of the following:
1) No one cares 2) No one has time 3) It can't be done 4) I'm invisable It would be cool to at least find out why the "sponsor in threads" question isn't being answered... I'd know rather to give-up on it or not. ? |
Try using the $forum array instead of $foruminfo in your sponsoredby_thread template. :)
|
AH HA!
Thanks a lot FireFly... that worked. |
[QUOTE]Originally posted by Okiewan
AH HA! Thanks a lot FireFly... that worked. |
Cool hack, worked fantasticly first time, thank you.
|
Quote:
It would be fantastic if you could make it so that sponsored by graphics can show up on forums as well - perhaps by inheriting the sponsor info from the parent category? I have no idea how to do that, though, so could you possibly create a new step-by-step hack to do that? |
working with vb2.2.2 ?
http://www.mobile-forum.com - just upgraded to 2.2.2 I have the bg image from the sitepoint forums sponsor cells and it should go lovely with my colour scheme, how do i have it as the bg image in the sponser cells on my site?? also, how do I get the image to be to the RIGHT instead of the left? |
great hack fly!
i also added amy's hack, but it didn't seem to work. i want the same ad from fly's hack to show on the corresponding threads, sub-forums....so on. |
finally, i get the button the right, and the image in the background, but the bg image 'tiles' and i do not want it to, you can see the banner on the forums at http://www.airwavescomms.co.uk/forums
here is the code I am using, can someone please modify it to not get the image to tile, I think CSS is my answer, but, i am defo no good at that.. so i beg you please help me! PHP Code:
|
Great hack!!
I have installed the hack now, but how do I then decided what banner to show in each catagories? What's the size of the banners? |
All customisation and design of the banners is up to you, you set them up as you see fit, however I personally have gone for 210x37 images
|
ok, but where do I set which banner for with catagory. I mean I what .php site or template and how? I want to use a difference banner for all catagories and how to I set the url too?? Please help, or paste some code that shows me what to do?
Thanks |
the banners can be set up in the forum category properties in admin cp.
each category can have a differnet banner this way |
What's wrong here:
Database error in vBulletin Control Panel 2.2.1: Invalid SQL: UPDATE forum SET styleid='1', title='General', description='', active='1', displayorder='1', parentid='-1', parentlist='10,-1', allowposting='1', cancontainthreads='0', sponsorname='2pass',sponsorimg='2pass.gif', sponsorurl='http://www.mysponsor.com/cgi-bin/tts-in.cgi?1020207-0',daysprune='30', newpostemail='', newthreademail='', moderatenew='0', allowhtml='0', allowbbcode='1', allowimages='0', allowsmilies='1', allowicons='1', styleoverride='0', allowratings='1', countposts='1', moderateattach='0' WHERE forumid='10' mysql error: Unknown column 'sponsorname' in 'field list' mysql error number: 1054 I have made all the changes that Firefly describes and. I'am running version 2.2.1 |
will this work on version 2.2.3 also?
|
Yup it should.
|
and 2.2.4 ?
|
could one of the pros help explain how to add-on the specific sponsor for each forum so it carries over to the threads in that forum.
|
All times are GMT. The time now is 10:27 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:
|