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)

Dream 07-06-2005 05:17 PM

any problem if I do it and release?

Azhrialilu 07-06-2005 05:24 PM

Quote:

Originally Posted by Paul M
Sorry but you both need to be more specific - what exactly is not showing ?

This appears in the usercp, above the reputation received display.

A cannot look at your forum(s) without a link, and test account, since obviously only members can see this.

I'm not really sure how much more specific I can get than it's not showing up anywhere :D... nothing shows up, zilch, zero, nada ;) not above the reputation received, below it, to the left or to the right *grin*

(I'm sorry, I'm being flippant I know.. it's not really directed at you.. but it's be humorous or kill the kids right now :) )

But come to think on it, neither is reputation received display showing up.. so that could be the problem..... let me have a look into that, then if I can't figure it out I'll make up a test account :D

Thanks for the quick responses so far tho, Paul.. it really is appreciated (I'm sure my flippantness didn't convey that earlier in this same post!)

Paul M 07-06-2005 06:05 PM

Quote:

Originally Posted by Azhrialilu
But come to think on it, neither is reputation received display showing up.. so that could be the problem..... let me have a look into that, then if I can't figure it out I'll make up a test account :D

The display of both is controlled by this IF in the USERCP template ;

Code:

<!-- ############## REPUTATION GIVEN - PAUL M ##############  -->
<if condition="$show['reputation']">

Are you absolutely certain that the account you are using has "Show My Reputation Level" ticked in the usercp > edit options ?

If so, try taking the above IF line out (you will also need to remove the "</if>" which is shown here ;

Code:

<!-- ############## END NEW REPUTATION ##############  -->
</if>


Azhrialilu 07-06-2005 06:34 PM

Removing that condition did indeed fix the problem.. now both reputation given and received is showing up! :)

Thanks loads, Paul.. you're a star :D

//Edit//
And you live approximately 10 miles away from me LOL. Just noticed that and had to point it out ;)

Paul M 07-06-2005 07:00 PM

Hmm, having looked at this - it's a problem with using hooks rather than file edits. :(

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, but my test site is offline atm, I'll do it when my test forum is back up (later hopefully) and get you and Chris to test it.

Paul M 07-06-2005 09:24 PM

Quote:

Originally Posted by hellsatan
Same - Not showing -.-

Satan

Quote:

Originally Posted by Azhrialilu
Nope... I thought that and went in and reset all the rep for every usergroup so they can't switch it off.

Both of you please delete the existing plugin and try the 2.10 version. Azhrialilu - can you try it with the IF back in. Thanks.

Paul M 07-06-2005 09:29 PM

Quote:

Originally Posted by Dream
any problem if I do it and release?

Fine by me as long as it's either as a post in here - or linked to this as an add-on. :)

Azhrialilu 07-07-2005 08:58 AM

Quote:

Originally Posted by Paul M
Both of you please delete the existing plugin and try the 2.10 version. Azhrialilu - can you try it with the IF back in. Thanks.

Did you change the User Control Panel template edit at all? Only I decided to do the whole thing from scratch - reverted the template then redid the edits as per the new upload and it appears (I'm probably wrong as I'm not that fluent in PHP) that there's an </if> missing, so when I try to save the template it errors out.

Paul M 07-07-2005 02:34 PM

Quote:

Originally Posted by Azhrialilu
Did you change the User Control Panel template edit at all? Only I decided to do the whole thing from scratch - reverted the template then redid the edits as per the new upload and it appears (I'm probably wrong as I'm not that fluent in PHP) that there's an </if> missing, so when I try to save the template it errors out.

Nope, no change to the template, just a slight change to the plugin XML.

Chris M 07-07-2005 03:33 PM

Now it works :)

Thanks Paul :)

Satan


All times are GMT. The time now is 07:42 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.01128 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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