vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vBaffiliates5 - Allow Users to Add & Edit their Own Affiliate Links!!! (https://vborg.vbsupport.ru/showthread.php?t=47008)

DarkDraco07 12-27-2002 03:47 AM

also, if anyone wants to do what i did heres how to do it:

if you want unregistered people to be able to affiliate without registering do this:

open vbaffiliates.php and find:
--------------------------------------
if ($bbuserinfo['usergroupid']=="1") {
show_nopermission();
}
--------------------------------------

erase it and upload :p

Smoothie 12-27-2002 04:38 AM

Quote:

Originally posted by DarkDraco07
www.darknemesis.com/myvbindex.php is a working version
Cool. Thanks. :classic:

Smoothie 12-27-2002 04:40 AM

Another question. How are you controlling the size of the banner?

DarkDraco07 12-27-2002 05:08 AM

um, the banners are originally 88x31. i dont know if hellsatan made it so its 88x31 only. and for the topsites i just edited the image height and width in the html coding

assassingod 12-27-2002 06:30 AM

Quote:

Originally posted by zajako
by moderate, do you mean admin approve it before it shows up?
Yes, thats correct

jjj0923 12-27-2002 10:51 AM

this hack functions similarly to:

https://vborg.vbsupport.ru/showthrea...threadid=44551

colicab-d 12-27-2002 12:13 PM

is there a way to show the links on a page in rows etc?

Also could it be possible to categorize them?

Chris M 12-27-2002 12:39 PM

@jj0923 - I suppose you could look at it that way...But this shows the Banners, and was coded differently to Arunan's hack;)

@colicab-d - I'm not sure what you mean by rows:s It would be possible to Categorise them, but I don't see the need when you only get to see a Randomnly chosen one...

If, by rows, you mean more than one Banner, then just change the Query in global.php, and change:

[sql]LIMIT 1[/sql]
to the number of banners you want to show, i.e.
[sql]LIMIT 3[/sql]

:)

@Smoothie - Controlling the Banner is proving to be difficult - Seeing as the url is stored, not the image, it is hard to find a way to limit the size of the banner...

Satan

NTLDR 12-27-2002 01:11 PM

Quote:

Originally posted by hellsatan
@Smoothie - Controlling the Banner is proving to be difficult - Seeing as the url is stored, not the image, it is hard to find a way to limit the size of the banner..
I'm helping Chris come up with some solutions so that users can't cheat the system :p

Chris M 12-27-2002 02:15 PM

Yes:)

Thanks NTLDR:)

We have worked out a way to do it...They still can cheat the system (:(), but their banner will look screwed up if they do:p

Releasing 2.0 in a few minutes!:)

Satan


All times are GMT. The time now is 04:24 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01242 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete