![]() |
does the system work with html banners?
|
this is fantastic...
|
Just found a couple of typos in banner_manage.php (also edited it to have double quotes instead of single in the output code).
Find... PHP Code:
PHP Code:
|
I fail to understand what this does exactly, but it looks interesting enough..
|
This looks really interesting but i have 2 questions
1/ I have already installed ppn advert hack do i need to uninstall that one before adding this one or can i just add this as well? 2/ Is it possible to restict the banner so that is is just shown to guest or members with less than X posts |
@X-Fan: It also works as it is, with single quotes ;)
@Velocd: It manages your banners and count the clicks of users/guests and the views ;) @freeshares1: your 1. point: I dont't know. I think you must not deinstall his hack. You can use my hack and his hack together. Just put my code generated through my banneradmin into PPNs pannel ;) your 2. point: Of course, just write something like if($user[posts]<XXX) .... It should work :) |
Thanks, will install it later
|
KK, yeah, I know single quotes work, but I like double quotes :)
Also, did you catch the typo? You had heigth instead of height in that line. |
Quote:
ups, sorry for the typo, I'll fix it later! :) |
I use 2.2.6 and php 4.2.1
and get this error when trying to run the queries: Invalid SQL: CREATE TABLE userclicks ( userid int(11) NOT NULL default '0', bannerid int(11) NOT NULL default '0', clicks int(11) NOT NULL default '0', PRIMARY KEY (userid,bannerid) ) TYPE=MyISAM; mysql error: You have an error in your SQL syntax near '; ' at line 6 mysql error number: 1064 EDIT: it seems to work now... I put the code in the non-select SQL query field at first.... will test. |
All times are GMT. The time now is 06:13 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:
|