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)

The Ghost 09-01-2002 10:34 AM

hi again,

now I have more Informations.

it work's but not for all Users in all Posts.

Sometimes I see the link, sometimes not. It's not specific Users....

It is so a great Hack, please help me.

Goldknight 09-01-2002 10:52 AM

Warning system are available only to Admin, SuperMod, and Moderator.

Which users you speak of? members? Moderator? SuperMod?

Edit: I check your link that you post to your board and it look fine to me. What do you mean about "users"?

The Ghost 09-01-2002 10:59 AM

Hi,

I mean normal Members.

I don't see the link on every Members.

Look at the Screenies.

thx in Advance.

The Ghost 09-01-2002 11:00 AM

and Screenie 2

Goldknight 09-01-2002 11:10 AM

Ah, I got it. Thanks

Can you PM me your postbit and showthread template? I ll check thur if I can find the problem.

The Ghost 09-01-2002 11:19 AM

Hi,

thx for your help!

Mystics from the vB Germany Support helped me.

I had an error in my Functions.php. I use the "Away Hack" and placed your code on the false place, so your Hack displays the link only on Offline Users. Very funny :D

Now it works fine!

Very Great Hack!

thx

Goldknight 09-01-2002 11:21 AM

That s what I think. It s functions problem after all. Glad that you sort it out. =D Have fun with it. It s one of my fav hack

Edit: fyi it s not my hack, it s g-force2k2. I merely help him by beta testing, thanks to him for this hack but welcome anytime. ;)

Ice Man_00 09-01-2002 11:22 AM

Quote:

Originally posted by The Ghost
Hi,

I have a Problem.

I don't see the Warning Level: 0 [ View User Warnings ] [ Warn This User ] Links on the Admin User's, I think that is normal, but I don't see this link on some Users, too......

Look here:

http://www.root-shell-club.com/board...8752#post28752

The User "Superw?ss" hasn't the Warning link in his post, but he isn't a Moderator, Super Moderator or Admin.

Can anyone help me?

thx in Advance

Just want to say, WOW !! Amazing hack if it had worked :p

I also have the same problem as he does, still nothing shown in postbit, and Yes i have installed it twice to be shure. but nothing still shows. Any clue ??

Thx.

Goldknight 09-01-2002 11:33 AM

Under all members or some of members?

If all member, be sure to check your postbit and showthread

Ice Man_00 09-01-2002 12:55 PM

This is my showthread template
PHP Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<
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=no,location=no,menubar=no,scrollbars=no,width=175,height=275,resizeable=yes,status=no")


}
function 
openeditsigwindow(x,y,sessionhash,userid) {
                
window.open("moderator.php?action=editsig&s="+sessionhash+"&userid="+userid"EditSig""toolbar=no,scrollbars=yes,resizable=yes,width="+x+",height="+y);
}
// -->
<!-- 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

And this is my postbit template :

PHP Code:

    <td bgcolor="$post[backcolor]width="100%" valign="top">
    <
smallfont>$post[icon] <b>$post[title]</b></smallfont>
    <
p><normalfont>$post[message]</normalfont></p>
    
$post[attachment]
    <
p>$post[signature]</p>
    <
p>$post[editedby]</p>
<!-- 
Warnings Hack v1.0 g-force2k2 ] -->
    <
p align="right"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]<br>
    
$post[warnings]</smallfont></p>
<!-- 
Warnings Hack v1.0 g-force2k2 ] -->            
</
td>
</
tr

Hmm....and btw, it dosen`t show on any members, admins, or other registrered members. Can it do something with the config.php file ??

Where the path is: shall it stand the path on the server, i mean like /www/home/vbulletin/forum
or just /forum ??????

And on the usergroupID i have put in more than just one (but i have tried with just one also, same thing) like userid, 2,3,4,5 with "," and not "."

Cheers


All times are GMT. The time now is 10:13 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.02131 seconds
  • Memory Usage 1,762KB
  • 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_php_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