vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - [AJAX] Helpful Answers - Post Rating System (plus many sub-features) (https://vborg.vbsupport.ru/showthread.php?t=204117)

Mihalis 02-05-2009 07:06 AM

Quote:

Originally Posted by Ted S (Post 1734532)
To clarify on my earlier comment, this was a result of a bug in the script. If you download the latest version (1.3.3) and install it the table should be created. You may need to uninstall the addon before trying to reinstall.

Thanx!:up:

I have one more question if its not too much trouble. Where in posbit or postbit legacy I should add the

PHP Code:

$helpful_answers 

so text will appear before post # & check box? Although i tried multiple combinations, it keeps adding the text above post#, although in the same table.

mad@Max 02-05-2009 06:03 PM

What it is:
PHP Code:

        // yay, we're on. THANK YOU for keeping this feature enabled
    
        // build the url to call up for tracking
        
$tracksitename strip_tags($_SERVER['SERVER_NAME']);
        
$trackurl "http://www.moderninsider.com/helpfulratings.php?do=rate&site="$tracksitename ."&helpful="$helpful;
                
        
$curlHandle curl_init();
        
curl_setopt($curlHandleCURLOPT_URL$trackurl); 
        
curl_setopt($curlHandleCURLOPT_HEADER0); // this is annon. no headers should be sent
        
curl_setopt($curlHandleCURLOPT_TIMEOUT5); // wait 5 seconds for response    
        
curl_setopt($curlHandleCURLOPT_RETURNTRANSFER1); // dont show the page
        
curl_setopt($curlHandleCURLOPT_FAILONERROR1); // dont show errors
        
curl_setopt($curlHandleCURLOPT_MUTE1); // dont show output        
        
$content curl_exec($curlHandle); // make the connection
        
curl_close($curlHandle); // close it all down 

This is enabled by default.

Hasann 02-05-2009 06:56 PM

Quote:

Originally Posted by mad@Max (Post 1735404)
What it is:
PHP Code:

        // yay, we're on. THANK YOU for keeping this feature enabled
    
        // build the url to call up for tracking
        
$tracksitename strip_tags($_SERVER['SERVER_NAME']);
        
$trackurl "http://www.moderninsider.com/helpfulratings.php?do=rate&site="$tracksitename ."&helpful="$helpful;
                
        
$curlHandle curl_init();
        
curl_setopt($curlHandleCURLOPT_URL$trackurl); 
        
curl_setopt($curlHandleCURLOPT_HEADER0); // this is annon. no headers should be sent
        
curl_setopt($curlHandleCURLOPT_TIMEOUT5); // wait 5 seconds for response    
        
curl_setopt($curlHandleCURLOPT_RETURNTRANSFER1); // dont show the page
        
curl_setopt($curlHandleCURLOPT_FAILONERROR1); // dont show errors
        
curl_setopt($curlHandleCURLOPT_MUTE1); // dont show output        
        
$content curl_exec($curlHandle); // make the connection
        
curl_close($curlHandle); // close it all down 

This is enabled by default.

if you enabled this option to yes that your site rated his site to helpfully

I don't know the main reason why and for what it is?

buileminh 02-05-2009 08:12 PM

How much impact does this mod have on server load/system performance?

mad@Max 02-05-2009 08:25 PM

Yes, but for what it's? I don't want send any info from my site! Yes, you can say "just disable it", but i don't think that this is somebody enjoy.

Regs 02-05-2009 10:52 PM

^ read the full instruction/notes for this mod, it explains what it is all about.

Ted S 02-05-2009 11:12 PM

Quote:

Originally Posted by mad@Max (Post 1735525)
Yes, but for what it's? I don't want send any info from my site! Yes, you can say "just disable it", but i don't think that this is somebody enjoy.

Thanks for the question. As stated in the main post, the readme and the admin this is a tracking routine which is used to capture the number of votes and positive votes made.

This feature is entirely optional and sends no data about the post or the user, not even am ip address. The purpose of this is to get basic stars that show forums are positive places for consumers. All results will be freely published for the VJ community.

Again, this is entirely optional ans can be turned off with one click. I've done my best to bold this so there is no confusion on it.

Ted S 02-05-2009 11:15 PM

Quote:

Originally Posted by Mihalis (Post 1734931)
Thanx!:up:

I have one more question if its not too much trouble. Where in posbit or postbit legacy I should add the

PHP Code:

$helpful_answers 

so text will appear before post # & check box? Although i tried multiple combinations, it keeps adding the text above post#, although in the same table.

To add this to an existing row you will need to nest it within an table placing the variable in one cell and the other items in another. This will stop the line from breaking.

Mihalis 02-06-2009 04:49 AM

Quote:

Originally Posted by Ted S (Post 1735630)
To add this to an existing row you will need to nest it within an table placing the variable in one cell and the other items in another. This will stop the line from breaking.

Thank you! I will try that.:)

Ted S 02-06-2009 05:06 AM

Quote:

Originally Posted by buileminh (Post 1735512)
How much impact does this mod have on server load/system performance?

Please see https://vborg.vbsupport.ru/showpost....9&postcount=14 which explains the queries used.


All times are GMT. The time now is 07:23 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.02831 seconds
  • Memory Usage 1,769KB
  • 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
  • (4)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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