Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
vB Affiliates for 3.5 Details »»
vB Affiliates for 3.5
Version: BETA 1.0.6, by (Guest)
Developer Last Online: Jan 1970 Show Printable Version Email this Page

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!)

File Uploads(4)
Template Edits(1)
Products(1)
Cron (1)


Please Note:

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.

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 09-19-2005, 10:42 PM
Guest190829
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Glovebox
You've lost me there matey, sorry! ;-)
Lol, I'm just talking to myself I guess. I'll provide an update that will do it automatically.
Reply With Quote
  #33  
Old 09-19-2005, 11:13 PM
Guest190829
Guest
 
Posts: n/a
Default

Okay, another update.

BETA 1.0.4 should fix the usergroup permission error, and also add the missing queries.
Reply With Quote
  #34  
Old 09-20-2005, 03:56 AM
erratic assasin erratic assasin is offline
 
Join Date: Jan 2005
Location: uk
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@ Danny yeah your right! Im an ass .. Nice work .. and thank you ... :squareeyed:
Reply With Quote
  #35  
Old 09-20-2005, 04:18 AM
Brinnie's Avatar
Brinnie Brinnie is offline
 
Join Date: Jul 2005
Location: Louisiana
Posts: 360
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can u use images?
if yes, can u specify a max width x height?
Reply With Quote
  #36  
Old 09-20-2005, 02:24 PM
Impreza04 Impreza04 is offline
 
Join Date: Jul 2005
Location: UK
Posts: 99
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok.. now im gonna be a real pain:

Affiliateadmin.php
PHP Code:
Parse errorparse errorunexpected ',' in /home/imp04/public_html/forum/admincp/affiliateadmin.php on line 193 
affiliate.php
PHP Code:
Database error in vBulletin 3.5.0 Release Candidate 3:

Invalid SQL:
SELECT FROM vB_ affiliates_settings;

MySQL Error  Table 'imp04_vbulliten.vB_' doesn't exist
Error Number : 1146
Date         : Tuesday, September 20th 2005 @ 08:19:25 AM
Script       : http://www.playstation-racing.co.uk/forum/affiliate.php 
Uninstalling
PHP Code:
Database error in vBulletin 3.5.0 Release Candidate 3:

Invalid SQL:
DROP TABLE affiliates;

MySQL Error  Unknown table 'affiliates'
Error Number 1051
Date         
TuesdaySeptember 20th 2005 08:23:42 AM
Script       
http://www.playstation-racing.co.uk/forum/admincp/plugin.php 
Reply With Quote
  #37  
Old 09-20-2005, 03:28 PM
Glovebox Glovebox is offline
 
Join Date: Jun 2005
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your help Danny, works great now.

Minor niggle:

Code:

Appears at top of affialiates page, see my site to see what I mean.

Adam
Reply With Quote
  #38  
Old 09-20-2005, 09:35 PM
Guest190829
Guest
 
Posts: n/a
Default

Glovebox,

Look in your affiliate template, and there should be "Code:" there, remove it and it will fix it.

Impreza04, I fix the affiliateadmin.php error, I will upload it tonight. Also, it seems like you didn't properly install the product because the tables don't exist...

Brinnie,
Yes you can use image, and I think there is a set width. Check the admin cp setting of the hack.
Reply With Quote
  #39  
Old 09-21-2005, 02:56 AM
jugo jugo is offline
 
Join Date: Feb 2004
Location: Reading your emails.
Posts: 573
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

go into the AFFILIATE template and remove Code:

And go into line 193 of the affiliateadmin.php file and change it to this:

Code:
	print_stop_message('approved_affiliate_x_successfully', $sitename);
Thanks Danny...awesome work..
Reply With Quote
  #40  
Old 09-21-2005, 03:06 AM
Omega Prime's Avatar
Omega Prime Omega Prime is offline
 
Join Date: Sep 2002
Location: ::Infinity::
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any means to using this if the affiliate system was installed with 3.0.x? What I mean is that I tried running the plugin and got this:

Code:
CREATE TABLE affiliates (
	 affiliate_id int(10) NOT NULL auto_increment,
	 sitename varchar(50) NOT NULL,
	 siteurl varchar(250) NOT NULL,
	 sitedesc mediumtext NOT NULL,
	 buttonurl varchar(150) NOT NULL,
	 type tinyint(4) NOT NULL,
	 email varchar(250) NOT NULL,
	 clicksout int(20) NOT NULL,
	 clicksin int(20) NOT NULL,
	 active tinyint(4) NOT NULL,
	 totalrating bigint(20) NOT NULL,
	 totalvotes bigint(20) NOT NULL,
	 approved tinyint(4) NOT NULL,
	 PRIMARY KEY (affiliate_id),
	 KEY sitename (sitename),
	 KEY siteurl (siteurl),
	 KEY email (email)
);

MySQL Error  : Table 'affiliates' already exists
I suppose I could just drop the old tables, but I had hoped that this would be more of an upgrade than a fresh install
Reply With Quote
  #41  
Old 09-21-2005, 03:57 AM
Hawkbizkit Hawkbizkit is offline
 
Join Date: Aug 2004
Location: Vacaville, CA
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you forgot to add the " . TABLE_PREFIX . " in the xml for those of us that use prefix's like myself

Edit: also in the uninstall code to remove the usergroup database info your plugin added you put DELETE instead of DROP..

Edit2: well it looks like in the affiliateadmin.php you put a ton of spaces after the table prefix codes all over the place which cause many errors...
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:20 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05333 seconds
  • Memory Usage 2,305KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (7)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete