Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Increase / Decrease Thread View counts Details »»
Increase / Decrease Thread View counts
Version: 1.00, by dartho dartho is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.6.8 Rating:
Released: 12-08-2006 Last Update: 12-08-2006 Installs: 56
Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

This hack will Increment or Decrement the Thread Views figures on a thread. UserIDs with permission to use the hack and the amount by which to inc / dec are specified in the AdminCP.

Useful if you wish to make a thread look more or less popular than it actually is. Inspired by the incredibly useful Bump Threads hack.

Instructions:
  1. Install Product
  2. Set options in "vBulletin Options", "Increment - Decrement Thread Views" in AdminCP.
  3. Click "Mark as Installed"

Also tested as working on 3.5.4 - should be ok on all 3.5.x
Also tested as working on 3.7 Beta 5 - should be ok on all 3.7.x

Trouble Shooting
If you are having issues with this (or other add-ones for that matter) try modifying the execution order of all plugins associated with this product from the default "5"
to "6"

Read post #19 if teh auto-template edits are not working for you.

Show Your Support

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

Comments
  #12  
Old 04-29-2007, 06:49 PM
2 FN LOW 2 FN LOW is offline
 
Join Date: Feb 2007
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not working for me on the newest version of VB...installed product, changed the usergroup ID to 6 (Admin group) and i get no option to inc/dec views
Reply With Quote
  #13  
Old 04-30-2007, 12:56 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, but I won't be able to look at this for a week or two, but will load up the latest version and check it out then...
Reply With Quote
  #14  
Old 04-30-2007, 02:57 PM
zhabbo zhabbo is offline
 
Join Date: Aug 2006
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed
Reply With Quote
  #15  
Old 04-30-2007, 07:19 PM
2 FN LOW 2 FN LOW is offline
 
Join Date: Feb 2007
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i notice you say theres a template edit....

i didnt edit any template as i did not find any instructions to do so...

is the product suppose to change the template itself?

just wanted to clear that up incase im missing something here
Reply With Quote
  #16  
Old 05-22-2007, 01:52 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've just upgraded my test site to 3.6.7PL and this still seems to be working OK for me...
The plugin modifies the templates on the fly - this is good in that you don;t need to make template edits and if you uninstall the hack you don;t need to undo template edits. It is possible bad in that it can conflict with other hacks and not work.

I will put up instructions for you to manually make the template edits in the next couple days...
Reply With Quote
  #17  
Old 08-01-2007, 01:40 PM
radarhunter radarhunter is offline
 
Join Date: Jul 2006
Location: Punjab, India
Posts: 315
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey buddy i am on board 3.6.7 and it`s showing me this message
Quote:
Invalid Action Specified
Reply With Quote
  #18  
Old 08-01-2007, 01:48 PM
radarhunter radarhunter is offline
 
Join Date: Jul 2006
Location: Punjab, India
Posts: 315
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please make this to work for 3.6.7 also please
Reply With Quote
  #19  
Old 08-01-2007, 09:37 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll have a look into it ...
Reply With Quote
  #20  
Old 08-03-2007, 02:58 AM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've tested under a 3.6.7PL1 board which has nothing but my own add-ons installed and it works fine.

You've possibly got other addons or have modified your templates which is causing issues.

You can manually modify the SHOWTHREAD template.
search for:
Code:
$vbphrase[remove_redirects]</option>
replace with
Code:
$vbphrase[remove_redirects]</option>
<option value="incviews">$vbphrase[inc_views]</option><option value="decviews">$vbphrase[dec_views]</option>
then search for:
Code:
$vbphrase[remove_redirects]</label></div>
replace with:
Code:
$vbphrase[remove_redirects]</label></div>
<div><label for="ao_inc"><input type="radio" name="do" id="ao_inc" value="incviews" />$vbphrase[inc_views]</label></div>
<div><label for="ao_dinc"><input type="radio" name="do" id="ao_dinc" value="decviews" />$vbphrase[dec_views]</label></div>
Once you've made the above changes, disable the "Inc / Dec Thread Views: Display Option" plugin which is meant to do these changes for you.

Just to recap - semi manual instructions are: Install product, Make template mods above, disable "Inc / Dec Thread Views: Display Option" plugin

I think that should do it...

Click "Mark as Installed" if it works for you
Reply With Quote
  #21  
Old 10-31-2007, 04:33 PM
Meghwar's Avatar
Meghwar Meghwar is offline
 
Join Date: Apr 2006
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dartho View Post
I've tested under a 3.6.7PL1 board which has nothing but my own add-ons installed and it works fine.

You've possibly got other addons or have modified your templates which is causing issues.

You can manually modify the SHOWTHREAD template.
search for:
Code:
$vbphrase[remove_redirects]</option>
replace with
Code:
$vbphrase[remove_redirects]</option>
<option value="incviews">$vbphrase[inc_views]</option><option value="decviews">$vbphrase[dec_views]</option>
then search for:
Code:
$vbphrase[remove_redirects]</label></div>
replace with:
Code:
$vbphrase[remove_redirects]</label></div>
<div><label for="ao_inc"><input type="radio" name="do" id="ao_inc" value="incviews" />$vbphrase[inc_views]</label></div>
<div><label for="ao_dinc"><input type="radio" name="do" id="ao_dinc" value="decviews" />$vbphrase[dec_views]</label></div>
Once you've made the above changes, disable the "Inc / Dec Thread Views: Display Option" plugin which is meant to do these changes for you.

Just to recap - semi manual instructions are: Install product, Make template mods above, disable "Inc / Dec Thread Views: Display Option" plugin

I think that should do it...

Click "Mark as Installed" if it works for you
Hi

i did install FORCE USERS TO READ A THREAD from VB.Org after that INC but am getting same "Invalid Action Specified" i did the MODS you enter here and disbale the plugin,,,,same

any idea...

thanx
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 02:37 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.04437 seconds
  • Memory Usage 2,310KB
  • Queries Executed 25 (?)
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
  • (8)bbcode_code
  • (2)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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