vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Vb3 Affiliate Hack (https://vborg.vbsupport.ru/showthread.php?t=62466)

AN-net 03-22-2004 12:41 AM

need your opinions/suggestions: https://vborg.vbsupport.ru/showthread.php?t=62753

tnguy3n 03-22-2004 05:51 AM

great hack, m8. got it installed & works great on mah board. :)
hit install.

Davey-UK 03-22-2004 06:44 PM

Any ideas when version2 will be released?
The ideas you are throwing about here seem promising.

Seems like it could be a great hack!

AN-net 03-22-2004 08:36 PM

version 2 is live at: http://www.animationation.net/community/affiliate.php
there are few more features to be added and some fixing of the code:)

Pikok 03-23-2004 07:40 AM

Quote:

Originally Posted by AN-net
version 2 is live at: http://www.animationation.net/community/affiliate.php
there are few more features to be added and some fixing of the code:)

You need to modify it so that the the visitors IP get logged in the datavase along with the date so that they can't keep rating, clicking through, etc. the same site over-and-over-and-over.. Basically to prevent anti-fraud or anti-cheating (whatever you want to call it).

If you weren't to enable the Admin to set the minimum amount of time between rating a site, or between clicks (for ins and outs), then yo ushould at least probably make it so that a user can only rate an individual site once (possibly with an option to be set by the Admin to allow changes) like vB does with thread ratings and have it only count one in and one out click per site per IP per day.

Other than that though, excellent job! It's looking very promising. ;)

AN-net 03-23-2004 10:08 AM

thanks, ill take this into consideration.

Pikok 03-23-2004 07:08 PM

Quote:

Originally Posted by AN-net
thanks, ill take this into consideration.

You could either put the code into the script itself to remove the old IPs from the database or setup a cron to run daily too. That way they wouldn't be taken up wasted space. ;)

Looking good so far.. The final version of this should be great! :D

ChuanSE 03-24-2004 05:21 AM

Quote:

Originally Posted by AN-net
version 2 is live at: http://www.animationation.net/community/affiliate.php
there are few more features to be added and some fixing of the code:)

Looks very neat :D
Keep up the good work...

AN-net 03-25-2004 07:59 PM

it is very close to completeion only like 2 or 3 more things to be fixed and it should be ready:)

ChuanSE 03-26-2004 04:55 AM

[high]* ChuanSE can't wait :D[/high]

BarHopper 03-26-2004 09:03 PM

I have a problem, in the acp, when i go in Affiliate General Settings, i click yes fo everything, press ok. Then it reverts back to no. Help!. :)

AN-net 03-26-2004 10:47 PM

try this fresh file:

AN-net 03-27-2004 02:42 AM

ok the hack is almost complete just got to write up the instructions and fix the server loads:)

Geographic2 03-27-2004 05:26 AM

*stares at the clock waiting*

ChuanSE 03-27-2004 06:15 AM

Quote:

Originally Posted by Geographic2
*stares at the clock waiting*

Waiting for what???

Tim Wheatley 03-27-2004 08:59 AM

Quote:

Originally Posted by BarHopper
I have a problem, in the acp, when i go in Affiliate General Settings, i click yes fo everything, press ok. Then it reverts back to no. Help!. :)

You missed one of the queries.

BarHopper 03-27-2004 08:49 PM

ok, ive fixed that problem. But now, i cant add affiliates, as when i have filled an affiliate in, and press Add affiliate, it says Affiliate cannot be added, as a Affiliate name or Affiliate URL has not been provided. How do i fix this one?

AN-net 03-27-2004 08:51 PM

you must have both a url and a name filled in for the affiliate

AN-net 03-28-2004 01:25 AM

Version 2 released!!!

You can find it here: https://vborg.vbsupport.ru/showthread.php?t=63044

BarHopper 03-28-2004 09:19 AM

I did. Ahh well, i'll just upgrade and see how it goes.

Blaine0002 04-04-2004 07:55 PM

just so you know u forgot the .zip file extension...

AN-net 04-04-2004 08:15 PM

what do you mean?

Blaine0002 04-04-2004 08:36 PM

inside the main zip theres another file that should have the .zip extension..

AN-net 04-04-2004 11:28 PM

well i would suggest you use version 2 of this hack anyways;)

Blaine0002 04-04-2004 11:44 PM

ill stay with this version untill i NEED 2.0

AN-net 04-04-2004 11:57 PM

ok, if you wish. anyways what file needs another zip?

stan68 04-05-2004 07:29 PM

im getting a error when trying to add the query

Code:

ALTER TABLE affiliates CHANGE clicks clicksout INT( 20 ) NOT NULL ;
ALTER TABLE affiliates2 ADD clicksin INT(20) DEFAULT '0' NOT NULL, ADD approved tinyint(4) NOT NULL;

first error is this
Error

SQL-query :

ALTER TABLE affiliates CHANGE clicks clicksout INT( 20 ) NOT NULL

MySQL said:


Unknown column 'clicks' in 'affiliates'
and the other is this


Error

SQL-query :

ALTER TABLE affiliates2 ADD clicksin INT( 20 ) DEFAULT '0' NOT NULL ,
ADD approved tinyint( 4 ) NOT NULL

MySQL said:


Table 'nukesm.affiliates2' doesn't exist

AN-net 04-05-2004 07:36 PM

sry the queries should be:
ALTER TABLE affiliates CHANGE clicks clicksout INT( 20 ) NOT NULL ;
ALTER TABLE affiliates ADD clicksin INT(20) DEFAULT '0' NOT NULL, ADD approved tinyint(4) NOT NULL;

and this belongs in the version 2 thread;)

Lurk 04-30-2004 03:15 AM

I've installed it...
but i don't see the things to the right... how do i enable or add them?

ZoNe|GsT 06-11-2004 04:18 PM

This mod would be a great a addition to our community.

Read the whole thread and I'm aware it's for 3.0, but would like to know if anyone has gotten it to work for 3.0.1?

The Realist 06-11-2004 08:38 PM

Few questions:

1) I have a red X when no button is added to the account on sign up? What is the path so I can add one if a button is not choosen.

2) There is no way to add a buton to an account from the admin panel and no way to phisically delete an inactive affiliate.

Thanks.

venomx 09-04-2004 01:42 AM

Whats the difference between this and vB Affiliates v.2?

Blam Forumz 10-04-2004 09:00 PM

i need tro know the same

Viks 12-01-2004 09:21 PM

just wondering if this mod is this vB 3.0.3 conpatible?

AN-net 12-01-2004 09:35 PM

Quote:

Originally Posted by Viks
just wondering if this mod is this vB 3.0.3 conpatible?

from my experience yet because its still working on my boards;)

AN-net 12-01-2004 09:38 PM

Quote:

Originally Posted by The Realist
Few questions:

1) I have a red X when no button is added to the account on sign up? What is the path so I can add one if a button is not choosen.

2) There is no way to add a buton to an account from the admin panel and no way to phisically delete an inactive affiliate.

Thanks.

you can change the image via editing the affiliate in acp and to my knowledge you can still delete affiliates ever if inactive:)

Jason McConnell 12-10-2004 01:11 AM

I'm having a problem with the last query, I get this error:

Quote:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ';
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VA
I know, I should be using v2, but I read the first 2 pages of posts and I didn't see to many issues with this. What should I change?

The Realist 01-09-2005 03:09 PM

SOLVED.

Dead End Society 01-15-2005 06:01 PM

*clicks install*

mikaelweb 01-16-2005 06:12 PM

I have made Modification to AFFILIATE template looks better now i hope this will work to you all


All times are GMT. The time now is 01:15 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.01857 seconds
  • Memory Usage 1,792KB
  • 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
  • (1)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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