vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Reader's name inside post (+) (https://vborg.vbsupport.ru/showthread.php?t=35220)

Admin 04-24-2002 08:56 AM

LOL :D

LaNder 04-27-2002 02:42 PM

Quote:

Originally posted by FireFly
It's possible to limit this hack to admins, yes.
Replace this:
Code:

  $replacewords=array(0 => "$bbuserinfo[username]<!-- auto name hack -->");
with this:
Code:

  $replacewords=array(0 => iif($bbuserinfo['usergroupid']==6,"$bbuserinfo[username]<!-- auto name hack -->",'{bbusername}'));


i tried this, but now the joke works only for admins, they see their username instead of {bbusername }.

all other users now see the variable instead of their usernames?

is there a possibility to limit the posting of replacements only to special usergroups?



LaNder

Robouk5 04-27-2002 10:04 PM

For some reason i couldnt fin the first line in the txt file in my functions.php ?
im using 2.24 and i think thats why, would it be possible to update this hack? thanks

bandersen 05-10-2002 03:26 PM

Its not working by me...
I am on 2.2.5... I did remove the line according to Smachol... and I did try the =bbusername= in functions.php and when posting.

I do not get the unsername displayed... just {bbusername}

Is it to send an email too?

zeedy2k 05-19-2002 02:58 PM

ok, I added this and it works ok except for one thing, when I add the {bbusername} to the subject it works, but in the actual post it doesnt work.

Help Please

Admin 05-19-2002 03:12 PM

Have you installed the "Fix" from smachol?

zeedy2k 05-20-2002 10:51 PM

call me dumb of whatever, but I can seem to find smachol's fix,

Anyone got the Direct URL to it?

zeedy2k 05-20-2002 11:10 PM

found it

Boofo 05-21-2002 05:04 AM

I tried to install this but I have the midrostats hack installed so I couldn't find the code I needed to change like it is in the text file. Also, what is the $fullpm part of the code it needs to replace? That wasn't in there at all. Does anyone know how I can do this with microstats installed on 2.2.5? :)

Code:

global $DB_site,$replacementsetid,$gzipoutput,$gziplevel,$newpmmsg,$fullpm;

zeedy2k 05-21-2002 05:32 PM

Did anyone fix this so only an admin can have the ability to post using it but everyone can view it?


All times are GMT. The time now is 02:03 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.01164 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
  • (3)bbcode_code_printable
  • (1)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