vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   vBTestimonials (https://vborg.vbsupport.ru/showthread.php?t=107264)

derekivey 09-10-2006 08:32 PM

I will try and release a new version of this hack soon. I am currently trying to finish the next version of my Toplist hack.

Derek

Nuguru 09-11-2006 04:04 PM

Quote:

Originally Posted by derekivey
Ok, I will see if I can come up with a fix.

Derek

Derek,

At this time I still have those 2 plugins disabled as you suggested and I am waiting in limbo for a fix here. Can you let me know if your going to be able to fix this Who's Online problem related to vBTestimonials?

Thank You,

Nuguru

derekivey 09-11-2006 06:45 PM

I am still looking into it. Just leave them disabled for now, they aren't really important, the WOL will just say unknown location until they are enabled, I will release a fix as soon as I can figure out what is wrong.

Thanks,
Derek

paul41598 09-14-2006 01:16 AM

I have a fix for this who's online issue (that works for me at least) :D

Go into your plugin manager & find:

Title: vBTestimonials WOL 2
Hookname: online_location_unknown

Get rid of all the code and replace it with this:


PHP Code:

if ($userinfo['activity'] == 'Adding Testimonial')

    
$userinfo['where'] = '<a href="vbtestimonials.php?'.$vbulletin->session->vars[sessionurl].'do=add">'.$vbphrase['vbtestimonials_adding_testimonial'].'</a>'
        
$userinfo['action'] = $vbphrase['vbtestimonials_adding_testimonial']; 
        
$handled true;
}
else if (
$userinfo['activity'] == 'Editing Testimonial')
{
    
$userinfo['where'] = '<a href="vbtestimonials.php?'.$vbulletin->session->vars[sessionurl].'do=edit">'.$vbphrase['vbtestimonials_editing_testimonial'].'</a>'
        
$userinfo['action'] = $vbphrase['vbtestimonials_editing_testimonial']; 
        
$handled true;
}
else if (
$userinfo['activity'] == 'Deleting Testimonial')
{
    
$userinfo['where'] = '<a href="vbtestimonials.php?'.$vbulletin->session->vars[sessionurl].'do=delete">'.$vbphrase['vbtestimonials_deleting_testimonial'].'</a>'
        
$userinfo['action'] = $vbphrase['vbtestimonials_deleting_testimonial']; 
        
$handled true;
}
else if (
$userinfo['activity'] == 'Reporting Testimonial')
{
    
$userinfo['where'] = '<a href="vbtestimonials.php?'.$vbulletin->session->vars[sessionurl].'do=report">'.$vbphrase['vbtestimonials_reporting_testimonial'].'</a>';
    
$userinfo['action'] = $vbphrase['vbtestimonials_reporting_testimonial'];
    
$handled true;
}
else if (
$userinfo['activity'] == 'Viewing Testimonials')
{
    
$userinfo['where'] = '<a href="vbtestimonials.php?'.$vbulletin->session->vars[sessionurl].'">'.$vbphrase['vbtestimonials_viewing_testimonials'].'</a>';
    
$userinfo['action'] = $vbphrase['vbtestimonials_viewing_testimonials'];
    
$handled true;



maroceve 09-14-2006 09:15 AM

first one to try the fix.

works like a charm.

thanks !

derekivey 09-14-2006 07:15 PM

Quote:

Originally Posted by maroceve
first one to try the fix.

works like a charm.

thanks !

Thank you for confirming that it works. I will have the fix in the next version and give paul41598 credit in the code for fixing it.

Derek

bashy 09-21-2006 12:01 PM

Hi Derek

I have a suggestion or 2 please?

1. How can i make it so only the title and catergory shows (or just title)
2. Is there any way peeps can add a comment should they wish to?

These might be a little out there but they would be great additions to the way i am using this hack :)

Lionel 09-21-2006 06:36 PM

works in 3.60 too. I had to use Paul's fix. Everyone was showing up as viewing testimonials even though it was not public yet

derekivey 09-21-2006 09:36 PM

Quote:

Originally Posted by bashy
1. How can i make it so only the title and catergory shows (or just title)

Not sure what you mean about this. Can you give me some example or something?

Quote:

Originally Posted by bashy
2. Is there any way peeps can add a comment should they wish to?

Not currently, I'll try and add it to the next version.

nimonogi 09-22-2006 04:44 AM

Is it able this hack to configure so your are able place testimonials on users? User-to-User.


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