![]() |
[QUOTE]Originally posted by FireFly
[B]MarkB: PHP Code:
|
SirSteve, yes, but you might want to change forumdisplay_sponsoredby to another template.
Add that code (with the new template) in showthread.php right after this: PHP Code:
Should work. :) |
Quote:
|
Quote:
Do you know what might have caused makeinputcode() to fail? Quote:
[high]* ForzaGrifo Just about to throw his hands up and surrender.... [/high] :mad: |
FireFly, you rock... this hack is sweeet !
The install was rather painless and it's extremely easy to use. Screenshot attached for those wondering what it looks like.. Great job! |
Ok - I set it up and works perfect. Thanks man.
|
If you have the MSN hack, and the world time hack it will mess them up...on the index.php
So I thought I would tell ya, and make sure that you are using a backup copy |
How will it mess them up, TheComputerGuy?
I don't use those hacks (URLs please? :)), but maybe I can fix it. |
I'm using the world time hack and have this one installed without any problems
|
it wiped them out..as in they are no longer present ...I changed it back last night...I will be glad to show u the files...
|
thankx m8
|
Strange!!! I finally got it to work, but that's after I figured out that the culprit is in the copy and paste!!!!
When I copy and paste the code, it gives error when the script is run. But when I manually type the code in, no errors!!! Does anyone know why it won't work when I copy the code from this thread and paste it into my text editor?? btw, Thx Firefly for helping! |
Quote:
|
Thanks Firefly for this wonderful hack. ;)
|
Thanks for that extra snippet of code for showthread.php, Firefly :) As the kids like to say, you rock!:D
|
Heya, I just registered so I can post a question.
How exactly do you have different sponsor ads for each Forum? I did everything that amykhar listed, including adding $sponsoredby to my forumdisplay template. Nothing shows up at all in the Forum that I added the banner to through the Admin system! It would be really great if someone could write more detailed instructions on having unique banners in each forum. |
Firefly,
I saw this hack a while ago and wanted to install it - however i've only just got round to doing it - and I just wanted to say THANKS! for a great hack... |
Great hack! One Question. . .
i want to link to pictures on another server. I figure i would have to edit this part of the template Code:
<img src="{imagesfolder}/$forum[sponsorimg]" border="0" alt="Proudly sponsored by $forum[sponsorname]"> Thank for any help and thanks for a GREAT hack! Ryan C. |
I would just replace ( src="images/$forum[sponsorimg]" )
With (src="http://www.blahblah.com/blah/images/$forum[sponsorimg]" ) then you store the images in that folder on that site.. and when you ad the sponsor just write the picture name.. Seems like the best way to me.. |
YourHostSucks,
only problem is i want to use comission junction to sponsor the forums. This is the code they give you. . . <a href="http://www.qksrv.net/click-904372-1614906" target="_top" > <img src="http://www.qksrv.net/image-904372-1614906" width="120" height="60" alt="" border="0"></a> Any ideas? BTY Damn your quick! :) |
So they are going to be your only sponsor?
PHP Code:
and http://www.qksrv.net/click-904372-1614906 as the sponsor url.... and Their name.. |
No not my only one just one to fill in till i get some others. ..
|
I edit my other post.. but 120x60 is pretty large to have..
maybe you should use a different image.. Keep the default code for the hack and make your own image.. just link to what they tell you.. EX: Do not change any code.. Just make a new image and upload it to the correct folder.. then link to http://www.qksrv.net/click-904372-1614906 |
great hack man, I wanted to know this from the get go
only issue the images were left align, no biggie, ez fix. |
[QUOTE]Originally posted by snyx
great hack man, I wanted to know this from the get go only issue the images were left align, no biggie, ez fix. |
rcooper, use this as your template:
Code:
<img src="$forum[sponsorimg]" border="0" alt="Proudly sponsored by $forum[sponsorname]"> |
Doh! Man I was so sleepy (went to bed after was done with this thread)
I was not thinking clear.. :) But FireFly is wise and has told you the smart thing to do. Althou I would still suggest you make your own image and do not change the code... :) You will see what I mean if you put that 120x60 image in the sponsor by section.. (hehe) |
FireFly yo Rock! Thanks for the great hack and help!
rcooper |
Just wan't to make sure you know how much I love this feature! :)
THANK YOU! :D It is working very well! |
The hack is wonderful. Just what I wanted. But soon after I installed this my search quit working. I'm not sure if it is the hack or not. Most likely not. However, what could cause my search to stop functioning? When you try a search it comes back to no matches found. If you type less than the required letters for search it does the same thing. It will not redirect or anything. Just no matches found.
Any suggestions? |
When I put something in phpinclude, my buddy list quit working. Have you put anything in there?
(grasping at straws) Amy |
Oh god... I've PhP included my ass off! .............................:mad:
This shouldn't keep anything from working. I hope a developer responds to this... HELP................................. |
If you over write a vB variable with something in phpinclude than you can cause all sorts of problems.
My advice? Clean out phpinclude and see if your search works. |
ok. I'll work on it. Thanks.
|
Look in the search templates for variables (start with $) and see if you have any matching variables in your phpinclude template, i.e. like $query
|
I had to remove the includes. It works now. But this really stinks. My files that I have included were important to my site.
Are there any work arounds? Shoot freddie. There are quite a few queries in my php includes. |
The work arounds are not to use variables of the same name that vB uses.
You can have all the queries you want, just don't name them '$query' - that one would kill the search. |
Thanks Freddie.
|
I found a new use for this hack :D
I added one extra field to the database, and now have forum-specific web rings at the bottom of my topical conversation forums. This hack is highly adaptive :) Example: Scroll down and look right above the footer. http://www.eaforums.com/forumdisplay.php?s=&forumid=27 Amy |
Amy your a genious. Very nice. Doesn't shock me in the least that you could figure this out.
Very Nice. |
All times are GMT. The time now is 04:17 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:
|