![]() |
My random problem!
I am building a new banner hack to allow targeted sponsorship of nominated forums :)
If a forum is sponsored the approiate banner will be displayed with link.........THIS WORKS! However if a forum is not sponsored then a random banner is to be selected from the list....THIS IS NOT WORKING :( I have added this to forumdisplay.php PHP Code:
Code:
<center><smallfont>Please support our sponsors<br> Code:
<center><font face="verdana,arial,helvetica" size="1" >Please support our sponsors<br> thanks in advance |
Ok whilst I have been waiting I have been working on other areas of the hack....however i still have not been able to solve this problem yet.
I will start a new thread for my next hurdle, I have nearly been able to complete targeting forums here the next hurdle is to target a particular script......eg....store.php new thread here https://vborg.vbsupport.ru/showthrea...threadid=51200 |
are you sure the cell will be empty?
PHP Code:
PHP Code:
|
1 Attachment(s)
Hmmm thanks mr e,
I actually didnt think of that....doh...but it didnt work either I even tried PHP Code:
I only have 3 banners on the table so far and they do work when a target forum is nominated eg here i have also managed to make the ad banner to appear at the top of all threads in the nominated forum as well. i have even got it to display the sponsorship in the forum list. there are 2 sponsored forums here http://www.atmyparty.com/network/for...s=&forumid=172 I have attached a gif of the current data table, so i spose to answer your question....if you are viewing forum number 28 the cell more correctly is not there rather than empty. so by defult i want to display a random banner in the unsponsored forum/threads. Thanks so far for your ideas... |
sorry but just to add to that the coding is displaying the right templates for both sponsored and unsponsored forums as the 2 templates are different....the problem is that the unsponsored forum has no image displayed.
|
I may be missing something here but why are you only selecting when there is no data? Should it be like this:
PHP Code:
- miSt |
HIp hip horay.........after 2 bloody days the thing works...now to work out how to target a php file
https://vborg.vbsupport.ru/showthrea...threadid=51200 then its finished! |
<font size="4">THE HACK IS FINISHED!</font>
Now to get rid of phpnewads |
All times are GMT. The time now is 05:40 PM. |
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:
|