Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Affiliates Module for vBa CMPS [Affiliate hack needed] Details »»
Affiliates Module for vBa CMPS [Affiliate hack needed]
Version: 1.00, by BoNfiRe BoNfiRe is offline
Developer Last Online: Mar 2012 Show Printable Version Email this Page

Version: 3.0.1 Rating:
Released: 06-21-2004 Last Update: Never Installs: 12
 
No support by the author.

this will add a scrolling/fading block to your vBa CMPS.

First you need this hack

All instructions included njoy

Demo Here

Show Your Support

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

Comments
  #2  
Old 06-22-2004, 02:21 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thankyou for sharing your work with the community
Reply With Quote
  #3  
Old 06-22-2004, 06:43 PM
badpacket badpacket is offline
 
Join Date: Nov 2001
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool.. I think i'll be installing this..

Thanks!
Reply With Quote
  #4  
Old 06-24-2004, 11:40 AM
BoNfiRe BoNfiRe is offline
 
Join Date: Jan 2004
Location: UK
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad you like it I take no credit for this I used digicreations code for vBindex. I would like to know how u got on with the install
Reply With Quote
  #5  
Old 06-24-2004, 07:12 PM
badpacket badpacket is offline
 
Join Date: Nov 2001
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well it appears that i'm having some issues during the V.2 upgrade of affiliates, so once i get that fixed i'll letcha know
Reply With Quote
  #6  
Old 06-28-2004, 08:02 PM
Cole2026 Cole2026 is offline
 
Join Date: Feb 2004
Location: Pittsburgh, PA
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Error in code i dunno if its how my site is setup or what but if anyone else gets an error on the main cmps page do this:

Open File affilateblock.php
Find This
PHP Code:
$faffiliate$DB_site->query("SELECT sitename,siteurl,affiliate_id,clicksout,clicksin,buttonurl FROM  " TABLE_PREFIX " affiliates WHERE active='1' ORDER BY clicksin DESC LIMIT $affsettings[top_limit]"); 
Replace with this
PHP Code:
$faffiliate$DB_site->query("SELECT sitename,siteurl,affiliate_id,clicksout,clicksin,buttonurl FROM affiliates WHERE active='1' ORDER BY clicksin DESC LIMIT $affsettings[top_limit]"); 
Reply With Quote
  #7  
Old 06-30-2004, 10:03 PM
jugo jugo is offline
 
Join Date: Feb 2004
Location: Reading your emails.
Posts: 573
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is a very slight mistake in the 'affiliatebits' template.

The wring variable is used to call the affiliate ID.

Replace with this:
Code:
<br /><if condition="$show[button]"><a href="$vboptions[bburl]/affiliate.php?do=redirect&u=$affiliate[siteurl]&id=$affiliate[affiliate_id]"><img onmouseover=high(this) style="FILTER: alpha(opacity=30); moz-opacity: 0.3" onmouseout=low(this) border=0 src="$affiliate[buttonurl]" border="0" /></a><br />
Reply With Quote
  #8  
Old 07-01-2004, 08:59 PM
badpacket badpacket is offline
 
Join Date: Nov 2001
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yea i dunno whats wrong, but its not redirecting properly going from the cmps page.. Works fine from the affiliates.php page.....

*edit

well i found my problem.. my "id" is "a" instead of &id=affiliateid.. so i just replaced the &id in my affiliate bits to &a

seems to work fine.. my only problem now is my redirecting thats acting up.. good work BonFire
Reply With Quote
  #9  
Old 07-01-2004, 09:03 PM
BoNfiRe BoNfiRe is offline
 
Join Date: Jan 2004
Location: UK
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

weird .......

whats your site cos i'm a bit lost
Reply With Quote
  #10  
Old 01-21-2005, 02:18 PM
aranthorn's Avatar
aranthorn aranthorn is offline
 
Join Date: Jun 2004
Location: Chicago
Posts: 137
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by badpacket
Yea i dunno whats wrong, but its not redirecting properly going from the cmps page.. Works fine from the affiliates.php page.....

*edit

well i found my problem.. my "id" is "a" instead of &id=affiliateid.. so i just replaced the &id in my affiliate bits to &a

seems to work fine.. my only problem now is my redirecting thats acting up.. good work BonFire
thank god you posted that
Reply With Quote
Reply


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 11:39 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.07850 seconds
  • Memory Usage 2,299KB
  • Queries Executed 23 (?)
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
  • (1)bbcode_code
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete