vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Display Reputation Comments You Have Given (https://vborg.vbsupport.ru/showthread.php?t=91685)

phlogiston 07-08-2005 12:12 PM

Quote:

Originally Posted by Paul M
The $show variable is set to 'true' as it should be, but after you drop out of the hook it's reset to 'false' again (if you have received comments it will get set to true again, otherwise it won't, and the display will fail).

I can get round it with a bit of extra code

To save using the extra plugin location you could set a $show['reputationgiven'] variable to use in the USERCP template wrapped around your new section instead.
That way it's also slightly better practice in cases where users may have only received rep (or only given).

Azhrialilu 07-10-2005 08:51 AM

Thought I'd already replied, but I haven't lol... all installed and working perfectly now :D

Paul M 07-10-2005 11:45 AM

Quote:

Originally Posted by phlogiston
To save using the extra plugin location you could set a $show['reputationgiven'] variable to use in the USERCP template wrapped around your new section instead.
That way it's also slightly better practice in cases where users may have only received rep (or only given).

This is basically what is already done, except the value is copied back to the original at the moment - this was to fix the immediate problem without either of them having to change their template. However, it's an excellent idea and I will modify and upload. :)

sharonkitty67 07-14-2005 12:50 PM

Wrong forum lol :)

sharonkitty67 07-14-2005 12:59 PM

Sorry.

jancarlo 07-22-2005 09:46 AM

In vBulletin 3,5,0 beta 4 is not looked at null in usercp that it is? I have read to all the posts but I have not found solutions. :disappointed:

ciao
jancarlo

Paul M 07-22-2005 11:53 AM

Quote:

Originally Posted by jancarlo
In vBulletin 3,5,0 beta 4 is not looked at null in usercp that it is? I have read to all the posts but I have not found solutions. :disappointed:

ciao
jancarlo

Sorry, I don't understand the question/problem, can you clarify ?

cecdah 07-23-2005 06:31 PM

Installed.:)

jancarlo 07-23-2005 07:51 PM

Quote:

Originally Posted by Paul M
Sorry, I don't understand the question/problem, can you clarify ?

simple, than in the profile customer I do not see no famous one of admonition or not.

ciao
jancarlo

Paul M 07-23-2005 08:04 PM

I think maybe you are using an online translator ?

I'm going to take a wild guess here - and assume you cannot see the reputation given in usercp ? if so, note that it will not be displayed unless you have actually given reputation to someone.


All times are GMT. The time now is 04:24 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.01120 seconds
  • Memory Usage 1,733KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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