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)
-   -   vB Affiliates v.2 (https://vborg.vbsupport.ru/showthread.php?t=63044)

joeychgo 06-24-2004 08:27 PM

Quote:

Originally Posted by AN-net

joey that means the delay feature is not working for u.



actually- its on one of your demo sites.........I havent installed this hack, that kept me from doing do.

Bryan Ex 06-24-2004 10:22 PM

I don't think the delay feature is set up quite right IMO. If you set a long delay it will certainly slow down the cheating but it affects all links... not just the one they just clicked on. This means that people have difficulty browsing several listings because they must wait between using each link. Click on a link that turns out to be not what you were looking for and you must wait to try the next one. Delay should only apply to visited links - not all links.

AN-net 06-25-2004 05:27 PM

Quote:

Originally Posted by joeychgo
actually- its on one of your demo sites.........I havent installed this hack, that kept me from doing do.

ok well then it could be that the demo site had turned off the delay feature by setting it to 0

hmm i will try look into that bryan, thanks:) but im sorta busy right now

Pseudomizer 06-27-2004 12:25 AM

Hi,

i have a weird problem. My performance hack shows me that i have 1 template uncached called "AFFILIATE" and if i list the affiliates i have 7 uncached templates. I crosschecked the affialiates.php file and all templates are listed in the $globaltemplates.

Anyone knows why they are not cached ?

Thanks in advance.

Cheers,

Pseudomizer 06-27-2004 12:28 PM

Quote:

Originally Posted by AN-net
chris im not sure what the problem is because i dont know which line it is. um can you run each insert one singally.

joey that means the delay feature is not working for u.

With all respect but the delay feature is NOT the solution here. As soon as someone changes his IP adress or the delay has passed he will be able to vote again.

I changed this on my site. Because only members can see the affiliate site, i implemented a voting mechanism for members. It will be stored in the database accordingly to their userid. Some minor changes ( took me 6 hours to find the best way ) and members can only vote once per affiliate.

Hint: I would NOT recommend using this on a biiiiiiig VB site with more then 100.000 users. Otherwise your queries will destroy your performance.

But i am still waiting for an answer for my caching problem. Any ideas ?

Thanks for this hack so far. It works fine.

Cheers,

SnowBot 06-28-2004 05:51 AM

What are the queries to undo any table changes if we want to unistall ?

AN-net 07-01-2004 03:51 AM

uninstall version 2?

JustAskJulie 07-13-2004 12:25 AM

Is it possible to completely turn off the rating system? And do you have to show hits in/out?

I'm just wanting a basic links page tool, not a top sites list.

Pseudomizer 07-13-2004 02:08 AM

Quote:

Originally Posted by JustAskJulie
Is it possible to completely turn off the rating system? And do you have to show hits in/out?

I'm just wanting a basic links page tool, not a top sites list.

Hi JustAskJulie,

not via ACP. But open the affialiates_list template and remove this line:

PHP Code:

<if condition="$show['rate']">
<
td class="thead" align="center">Rate</td>
</if> 

and this in affiliate_listbits:

PHP Code:

<if condition="$show['rate']">
<
td class="alt2" align="center"><form action="affiliate.php?do=vote" method="post">
<
input type="hidden" name="a" value="$affiliate[affiliate_id]"><select name="rating"><optgroup label="ratings">
<
option value="1">1</option>
<
option value="2">2</option>
<
option value="3">3</option>
<
option value="4">4</option>
<
option value="5">5</option>
</
optgroup>
</
select>
<
input type="submit" value="Rate" class="button">
</
form>
</
td>
</if> 

Cheers,

JustAskJulie 07-13-2004 02:43 AM

Thanks :) What would you edit to remove the hits in/out?


All times are GMT. The time now is 01:27 AM.

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.01256 seconds
  • Memory Usage 1,754KB
  • 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
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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