The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
random banner
Hi,
I wondered if someone had vb4 compatible code to display a random banner among a pool of banners. Some code has been posted for vb3 but it isn't vb4 compatible. Also I know there are various banner mods, but they are focused on advertising banners, not site banner. Thanks |
#2
|
||||
|
||||
I'm fairly sure that https://vborg.vbsupport.ru/showthread.php?t=188328 can be tweaked to do what you want.
|
Благодарность от: | ||
TheLastSuperman |
#3
|
|||
|
|||
thx but I've already tried it, that's a huge and bloated mod for advertisement banners
so it's unrelated with what I'm looking for |
#4
|
||||
|
||||
That have been what it was originally designed for, but as the creator noted it can be used for more or less anything. It doesn't have to be ad banners that are placed by the mod.
For example if you edit the header template and comment out <vb:comment></vb:comment> the code for the banner and replace it with a placeholder (i.e. %mybanner%). Then create however many banners you want that get assigned to that placeholder. That's pretty simple to implement and should do for what your after. |
#5
|
|||
|
|||
I am not interested in that mod thank you.
First it uses external content and is not even flagged as such. A quick look at the xml shows tons of calls for pagead2.googlesyndication.com On top of that I'd have to deal with all the security issues going along huge mods. 12 lines of codes should be enough for a random banner, and you're asking me to install an huge Heath Robinson device to slice some eggs |
#6
|
||||
|
||||
Quote:
Quote:
Quote:
The chances of someone creating a solution for you when a viable solution already exists is basically zero, unless you choose to pay someone to do it for you, in which case you're posting in the wrong section and should post in the paid request section. |
Благодарность от: | ||
blind-eddie |
#7
|
|||
|
|||
you seem to be very angry dude
but if you're a coder yourself, I shouldn't have to explain you why you can't expect people to install an huge Heath Robinson device to slice some eggs as for why I don't do it myself, it's because I'm not familiar with the vb framework I have tried to get an image from a php file url but vb is making it difficult for people who are not familiar |
#8
|
||||
|
||||
Quote:
Quote:
Does it have features you aren't interested in using, almost certainly, but that's true with any piece of software you use that you don't code yourself. Did you write your own webserver software because apache is a "heath robinson machine" for doing a whole bunch of things as a webserver that you don't need it to do. Of course not. As I pointed out in my last response no one is going to code you something if a viable free alternative exists unless you pay them to do so, in which case post in the paid section. |
#9
|
|||
|
|||
I just did it with 8 lines of codes
thanks for your help man |
#10
|
||||
|
||||
I'd of went with this https://vborg.vbsupport.ru/showthread.php?t=188328 like Squid mentioned, by the way he knows his stuff and when replies is only trying to be helpful - he doesn't know why you like or dislike a mod nor should he care nor do I we simply offer suggestions and don't expect replies such as you've posted no one on here does.
If you did it in 8 lines of code we could have all been spared this thread, more so since you declined to share the few lines (see my sig, its ok to share lol). It's ok to say you don't understand how a mod works, we will help so next time just ask OR ask how to code something, we will help with that too . |
Благодарность от: | ||
blind-eddie |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|