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)
-   -   Show Thread Enhancements - [AJAX] Post Thank You Hack (https://vborg.vbsupport.ru/showthread.php?t=165673)

Abe1 03-10-2008 09:34 PM

Quote:

Originally Posted by choccyclaire (Post 1461462)
Any way I can edit the template so that another usergroup has the ability to remove all thanks?

I assume I need to change something on this line, in postbit template, but to what?

Code:

<if condition="$bbuserinfo['usergroupid'] == 6">
Thanks in advance.

It's controlled in the file also. You would need to use a hook to allow it.
Quote:

Originally Posted by daPLAYBOY (Post 1461628)
When deleting threads/posts, I woud like to prevent the loss of the Thanks count...any fix?

Yes. Next version.

choccyclaire 03-11-2008 07:05 PM

Quote:

Originally Posted by Abe1 (Post 1461804)
It's controlled in the file also. You would need to use a hook to allow it.

Yes. Next version.

I'm not very good with hooks lol. Any help? :)

Hypo 03-12-2008 08:47 AM

Quote:

Originally Posted by Abe1 (Post 1457966)
vbseo can mess it up i believe.

I've got thesame problem, and I'm not using vbseo, and the only 3rd party hack I can remember is the Advanced Statistics, which shows top10 blabla at the bottom of the board .
Anything else that can mess it up?

Abe1 03-14-2008 02:18 AM

Quote:

Originally Posted by Hypo (Post 1462856)
I've got thesame problem, and I'm not using vbseo, and the only 3rd party hack I can remember is the Advanced Statistics, which shows top10 blabla at the bottom of the board .
Anything else that can mess it up?

I would have to play around with you site to figure it out. Are you sure you have the latest files uploaded?

Abe1 03-16-2008 02:19 AM

Version 7.3 (03/15/08):
  • Updated file: functions_post_thanks.php
  • Updated template: post_thanks_memberinfo_block
  • Deleted template: post_thanks_memberinfo_css
  • New option: Choice to use Markup Usernames or not. (Thanks to Namaless)
  • New option: Ban User from Getting Thanks
  • New option: Max Thanks a User can Give Per Day
  • FIX Fixed repeating bug on vb 3.6.7 forums.
  • CHANGE Changed where the post thanks info shows on the Profile Page. Moved to same box as statistics. (This will require a template edit if you are running vb3.7 beta 2-4)

Hornstar 03-16-2008 03:47 AM

Just when you think it cant get any better, there are so many nice new features in this release. thanks.

Edit: the markup feature looks nice ^^

Dream 03-16-2008 03:53 AM

Thanks for the update.

The only thing that is missing is who's online for people browsing post_thanks.php, otherwise it's a perfect mod.

It's easy to do too. Here's mine from my radio mod:

online_location_process hook

Code:

if($filename=='radioandtv.php'){$userinfo['activity'] = 'radio_stations';}
online_location_unknown hook

Code:

if($userinfo['activity']=='radio_stations')
{
    $userinfo['where'] = '<a href="javascript:openRadioAndTV()">' . " $vbphrase[rs_radiostations]</a>";
    $userinfo['action'] = $vbphrase['rs_listening_to_radio'];
    $handled = true;
}

I can add this in mine if I want, this is just a heads up.

edit: just to clear it up, this is for when you are browsing who's online for a phrase to appear what the user is doing, and not the file name he's browsing

Abe1 03-16-2008 05:04 AM

Quote:

Originally Posted by Dream (Post 1465826)
Thanks for the update.

The only thing that is missing is who's online for people browsing post_thanks.php, otherwise it's a perfect mod.

It's easy to do too. Here's mine from my radio mod:

online_location_process hook

Code:

if($filename=='radioandtv.php'){$userinfo['activity'] = 'radio_stations';}
online_location_unknown hook

Code:

if($userinfo['activity']=='radio_stations')
{
    $userinfo['where'] = '<a href="javascript:openRadioAndTV()">' . " $vbphrase[rs_radiostations]</a>";
    $userinfo['action'] = $vbphrase['rs_listening_to_radio'];
    $handled = true;
}

I can add this in mine if I want, this is just a heads up.

edit: just to clear it up, this is for when you are browsing who's online for a phrase to appear what the user is doing, and not the file name he's browsing

No-one ever browses on post_thanks.php

stelthius 03-16-2008 09:51 AM

Does this mod work with beta 6 yet ?

Hypo 03-16-2008 09:55 AM

Quote:

Originally Posted by Abe1 (Post 1464325)
I would have to play around with you site to figure it out. Are you sure you have the latest files uploaded?

hah now with the update I'm sure I don't have the latest files uploaded, so let's try a bit further now than :D

Thanks ;)


All times are GMT. The time now is 12:01 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.02166 seconds
  • Memory Usage 1,746KB
  • 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
  • (5)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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