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)

Remi 02-21-2002 10:51 AM

Is there a way of restricting the for admins only!!

My users start abusing this nice hack, I don't want to remove it

SWFans.net 02-21-2002 11:58 AM

Quote:

Originally posted by FireFly

Could be that the $fullpm was removed in version 2.2.2, because we are still running version 2.2.1 and that's where I test my hacks as well.

Its possible, but I?m really not sure. I upgraded my forums to 2.2.2 via PPN?s hack he posted here, but don?t remember if that was a step.

Goes to check

Nope, I don?t see it in his update file as a change. Oddness.

Admin 02-21-2002 01:00 PM

Well, I can only guess, but maybe it's part of a hack (if it exists) that adds a "Your inbox is full" popup to pages, like "You have a new message". Or maybe that's already a feature... god I can't remember. :p

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}'));

Martin CX 02-21-2002 06:17 PM

Very cute hack Firefly. It'll be great fun trying it out. :D
Quote:

Originally posted by SWFans.net
And I think I may actually have a practical use for it at our forums. A great deal of our members are role players with multiple names. I may add that into the templates for forumdisplay to let people know exactly what name they are logged in as. :)
You don't need the hack to do that, though. Just use $username in the templates.

James Cridland 02-21-2002 07:56 PM

Totally pointless.

Great fun.

Although I hear {bbusername} is getting a bit sick of it.

techno 02-21-2002 08:20 PM

Quote:

Originally posted by FireFly

If I weren't serious with my remark about PHP version I wouldn't post it, would I?


Nope, I just didn't think that is what my problem was. Time to contact the server owner and tell him to upgrade!! :):)

Anyway's Firefly, its looks like a really fun hack.

NYI Fan 02-21-2002 08:54 PM

I have been holding off unleashing it on my forums cuz i want to think of something really good to get them with! I know 1 or 2 people posted what they did, anyone else actually implement this on their site yet and feel like sharing?

James Cridland 02-21-2002 09:34 PM

http://forums.mediauk.com/showthread.php?threadid=13307

Oh, it's funny... even when people have realised what's going on, others don't realise... !!

This is the funniest hack I've installed... :)

James Cridland 02-21-2002 09:42 PM

The effect is rather spoilt by the <--! AUTO NAME HACK --> thing, so I removed that from the version I installed. The funniest bit is page 2, where two users both quote and reply to the text, saying how kind it is of me... !

NYI Fan 02-21-2002 10:04 PM

HI James
thanks for the link, and if you dont mind, where did you remove it from? (I would love to do the same)


All times are GMT. The time now is 11:59 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.01269 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)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