vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Profile Enhancements - Display Reputation Comments on Members Profile Page (https://vborg.vbsupport.ru/showthread.php?t=232497)

S3Ponline 03-26-2011 02:23 AM

:)

I got it coded so it only displays for the user and administrators :D

Tom Kagan 03-27-2011 01:30 AM

Quote:

Originally Posted by Paul M (Post 2177390)
As per the main post ;

I think you misunderstood me, or perhaps I was not clear.

I know where the options for the hack are located. However, there does not appear to be a way to say NO ONE should be able to delete (or only superadministrators). The same for preventing anyone from seeing the feedback entry's username. I might be overlooking it, but pressing <ctrl-click> on the selected entry will clear it from the box, but it will not save that way. There is no 'NONE' choice, either.

Paul M 03-27-2011 11:59 AM

I see - and yes, thats correct. I dont see any point in a no-one option.

At the very least the site administartors should have the power. Superadministrators are not a option in any standard permissions, they are just an ACP oddity.

If you really want a no-one option then simply ceate a dummy usergroup called no one, and only assign it the option(s).

Tom Kagan 03-30-2011 02:45 AM

Quote:

Originally Posted by Paul M (Post 2177928)
I see - and yes, thats correct. I dont see any point in a no-one option.

At the very least the site administartors should have the power. Superadministrators are not a option in any standard permissions, they are just an ACP oddity.

If you really want a no-one option then simply ceate a dummy usergroup called no one, and only assign it the option(s).

I see your point of view. The flip side is not making so easy for people to make mistakes. Admins already have the power within the admin control panel whereupon it becomes a very conscious decision to delete feedback. Also, inline moderation would typically require an admin to reenter their password (presuming option is enabled), but not in this case.

Thank you for the suggestion regarding the dummy usergroup. This is a good option for the client assuming it becomes a requirement. I also discovered an easier method to make deletions harder via examining the code: Set the delete timeout option to zero. This removes the button (as opposed to allowing for an indefinite period for deletions).

dlewisr 04-16-2011 10:42 AM

Nice mod, works on 4.1.2. Only blip is that it knocks the 'conversation' tab off the end of the profile page. Thanks Paul, installed and rated.

Froberg 04-22-2011 11:15 AM

Installed, will go nicely with your other mod. Yours are always high quality, so I never fret about using 'em :)

masterross 05-20-2011 05:41 AM

With PHP 5.3.6 and vB 4.1.13 getting error:

Quote:

Deprecated: Assigning the return value of new by reference is deprecated in member.php(500) : eval()'d code on line 73

Paul M 05-20-2011 09:57 AM

I have no such error on my test forum (which is also PHP 5.3.6 and vB 4.1.3).

masterross 05-20-2011 11:42 AM

Hi Paul,

Thank you for your reply.
Yesterday I've upgraded two of our servers to php 5.3.6 and the messages appeared.
No problem with php 5.2.17 on other server.
Maybe it's vB bug. Not sure...

P.S.
Forgot to tell you that you should add:
Quote:

$config['Misc']['debug'] = ($_SERVER['REMOTE_ADDR'] == 'your_IP_here');
in config.php to see this message

Paul M 05-21-2011 08:36 PM

Yep, got it - a php 5.3 issue. Update released.


All times are GMT. The time now is 04:14 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.01214 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
  • (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