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)
-   -   Warnings System Hack v1.0 (https://vborg.vbsupport.ru/showthread.php?t=42972)

ryans 09-03-2002 11:01 PM

Awesome, that puts the links in there. But 2 problems. The links show click here:

View Users Warnings:
http://www.sromagazine.com/boards/ja...t:showwarnings(15668)

and
Warn User:
http://www.sromagazine.com/boards/ja...pt:addwarnings(252222885)

I did edit the showthread

{htmldoctype}
<html>
<head><title>$bbtitle - $thread[title]</title>
$headinclude
<script language="javascript" type="text/javascript">
<!--
function aimwindow(aimid) {
window.open("member.php?s=$session[sessionhash]&action=aimmessage&aim="+aimid,"_blank","toolbar=n o,location=no,menubar=no,scrollbars=no,width=175,h eight=275,resizeable=yes,status=no")


}
// -->

<!-- Warnings Hack v1.0 [ g-force2k2 ] -->
function showwarnings(userid) { window.open
("warn.php?s=&action=show_warn&userid="+userid,
"show_warn", "toolbar=no,scrollbars=yes,resizable=yes,width=600 ,height=350"); }
function addwarnings(postid) { window.open
("warn.php?s=&action=add_warn&postid="+postid,
"add_warn", "toolbar=no,scrollbars=yes,resizable=yes,width=350 ,height=150"); }
<!-- Warnings Hack v1.0 [ g-force2k2 ] -->

</script>
</head>

ryans 09-04-2002 04:30 AM

any suggestions on this? When I click the link (View Users Warning) it clicks to:

http://www.sromagazine.com/boards/ja...arnings(19653)

bonnmac 09-04-2002 08:30 AM

Quote:

Originally posted by g-force2k2
Zirus if you want another usergroup included you have to add them... i can show you how to go about this if you like... regards...
g-force2k2 [/B]

Hi g-force2k2...

Could you please tell me how to add another usergroup? I've installed the lesser admin hack and I'd like to add that group to the ones that have permissions. The user groupid is 8...

Thanks :)

X-Fan 09-04-2002 10:21 AM

Apologies in advance if this has been asked before, but how is it possible to have the number of warnings that's displayed in postbit and on the userinfo page made public so that all users can see them? I'd like for those that have been warned to know how many warnings they've got.

g-force2k2 09-04-2002 11:11 AM

bonnmac i can create it for you if you like...

X-Fan simply but in your postbit...

PHP Code:

Warning Level$post[warninglvl

regards...

g-force2k2

bonnmac 09-04-2002 11:27 AM

Quote:

Originally posted by g-force2k2
bonnmac i can create it for you if you like...
regards...
g-force2k2

That would be greatly appreciated. Thanks... :)

X-Fan 09-04-2002 11:32 AM

Thanks!

g-force2k2 09-04-2002 01:23 PM

Quote:

Originally posted by bonnmac


That would be greatly appreciated. Thanks... :)

okay whats the exact usergroupid and what permissions do you want them having? ability to warn moderators etc? regards...

g-force2k2

bonnmac 09-04-2002 01:25 PM

It's usergroup id # 8 and I'd like them to have full permissions like admins do. Please. And Thanks. :)

g-force2k2 09-04-2002 01:27 PM

i will have it done later today right now i have to get back to doing my classwork :p but i'll have it done asap regards ;)

g-force2k2


All times are GMT. The time now is 06:26 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.01540 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_php_printable
  • (3)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