Version: BETA 1.0.6, by (Guest)
Developer Last Online: Jan 1970
Version: 3.5.0 RC3
Rating:
Released: 09-17-2005
Last Update: 09-29-2005
Installs: 77
Uses Plugins Template Edits
Additional Files Is in Beta Stage
No support by the author.
Author: An-net Ported by: Danny.vbt
Description:
Now add,manage,display all your communties/boards affiliates in a simple and organized fashion.
[high] This hack is in it's early BETA stages, and it should be used for DEBUGGING purposes only. [/high]
Features:
-Administration Panel
-multiple affilliates
-image button verification
-modules
-top listing
-types/categories
-reporting system
-rating system
-in and out clicking system
-redirects
-delay system
-disclaimers
-extremely customizeable
-display options
-pagination
-approval system
-usergroup permissions
-active system
-image buttons
And more!
Install Overview:
[high] Please upload files before importing product! [/high] (Thanks Kirby!)
This hack is in BETA, if you find any bugs whatsoever report them, and I will fix them asap. (I'm almost positive that there will be a few silly bugs.)
Thank You,
And please click Install if you use this hack.
Updates:
BETA 1.0.7
Uploaded new affiliate.php by HawkBizKit, fixes ON clause error
BETA 1.0.6
Uploaded new affiliate.php by Dark_Wizard
BETA 1.0.5
Fixes Installation/Uninstallation issues and table prefix error
BETA 1.0.4
Added missing phrases, fixed permissions issue.
BETA 1.0.3
Fixed errors on xml product, also added auto rebuild bitfields.
BETA 1.0.2
Fixed parse error on affiliate.php
Screen Shots Below: They are Poorer quality due to gifs.
Another problem I'm having is the displaying of $bbuserinfo in the error message I received concerning insufficient privilges. Is global.php missing from somewhere? It looks to be in the two affiliate files. Any ideas?
Quote:
$bbuserinfo[username], you do not have permission to access this page. This could be due to one of several reasons:
Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
If you are trying to post, the administrator may have disabled your account. Use the contact form to find out why.
oh dummy me i read your error wrong sorry well i would say try this code
Find: (should be around line 307ish in affiliates.php)
PHP Code:
$faffiliate=$db->query_read("SELECT affiliate_id,sitename,siteurl,buttonurl,name,id,sitedesc,clicksout,clicksin,totalrating,totalvotes FROM " . TABLE_PREFIX . "affiliates AS affiliates LEFT JOIN " . TABLE_PREFIX . "affiliates_types AS affiliates_type ON " . TABLE_PREFIX . "affiliates.type = " . TABLE_PREFIX . "affiliates_types.id WHERE active='1' AND approved='1' ORDER BY $by$in LIMIT $limitvalue,$perpage" );
Replace with:
PHP Code:
$faffiliate=$db->query_read("SELECT affiliate_id,sitename,siteurl,buttonurl,name,id,sitedesc,clicksout,clicksin,totalrating,totalvotes FROM " . TABLE_PREFIX . "affiliates LEFT JOIN " . TABLE_PREFIX . "affiliates_types ON " . TABLE_PREFIX . "affiliates.type = " . TABLE_PREFIX . "affiliates_types.id WHERE active='1' AND approved='1' ORDER BY $by$in LIMIT $limitvalue,$perpage" );
Thats how i have my code setup and it is working just fine and when i tried it your way it doesn't work...
I've got this with your new modification:
Quote:
Database error in vBulletin 3.5.0 Release Candidate 3:
Invalid SQL:
SELECT affiliate_id,sitename,siteurl,buttonurl,name,id,si tedesc,clicksout,clicksin,tota lrating,totalvotes
FROM opio_affiliates LEFT JOIN opio_affiliates_types
ON opio_affiliates.type = opio_affiliates_types.id
WHERE active='1' AND approved='1'
ORDER BY sitename DESC
LIMIT 0,5;
I added an affiliate via the Admin Panel. It doesn't show. So I need to approve it via the admin panel? I'm not sure why this would be, but after I do approve it, get this error:
Code:
Warning: mail() [function.mail]: SMTP server response: 503 No recipient(s). in \admincp\affiliateadmin.php on line 191
The email fields are filled out, plus it went way too quick to have gotten that info from my mailserver.
The the other problem is that if an image is not added to an affiliate, I get the old x'd out box. Any way to fix that?
Also, shouldn't the affiliates open up in a new window?
Last, wouldn't it be best to include an if statement in the navbar for when the affiliates is turned off?
I'm getting the error when I try to update the usergroups. It happens right after I press "update"
Try rebuilding the bitfields manually through the admincp. I'm going to open my test board with this on, along with a bug tracker so I can easily find all the bugs..Also, I will post an update right now...
dangit i don't know why but each time i post something using the PHP tags it wants to add a space somewhere where it should not.....meaning fix this space it added in the first line..
edit dangit it still keeps adding the space just try replacing it with this page
or just in the first line fix the space between tota lrating to totalrating