| Topic: | Advertisement Page needed |
|---|---|
|
drhtm
Pizzaman
Posts: 33 Posted: |
Hi Chestnut, wondering if you know how this can be done. http://mods.postnuke.com/Article2408.html apparently the orginal author shut down his site. If you know or anyone know of a script that can handle this, let me know. thanks :). |
|
Chestnut
Site Admin Posts: 1320 Posted: |
Apparently, he did not shut down... he just made sure he annoys everyone with his little htaccess http://www.autothemes.com Other than that, you can do many things by hacking the tools.php file in NS-User/ folder. function redirect_user (All the code for a page is in this function except that it has a refresh redirection link. :wink: Chestnut ! ![]() Site Admin |
|
drhtm
Pizzaman
Posts: 33 Posted: |
yeah i knew that :). but i can't seem to find it at that site either. anyhow, i know it had to do with that file. could you help me set this up? I am not very familiar with this and wouldn't know how to start it correctly. by the way, do you think its possible to extend this idea beyond just the login page and say to every 10 pages or so, probably using a cookie of some sort? |
|
Chestnut
Site Admin Posts: 1320 Posted: |
I am not well versed in this kind of advertisement code but if you look at the file this way : This line : The 2 says how many seconds before redirecting... Probably... but if you don't plan to use a html block or something like that, it's more hacking (header.php probably). And as I said, can't help you much as I am a fervent "advertisement free Internet" dude... so I never look how to use all those Banners and affiliation twinkies. Even less cookies I must admit. Chestnut ! ![]() Site Admin |
|
drhtm
Pizzaman
Posts: 33 Posted: |
thanks. i'll see what i come up with. and yes i agree ads aren't very exciting to work with. :cry: tchau |