![]() |
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> |
any suggestions on this? When I click the link (View Users Warning) it clicks to:
http://www.sromagazine.com/boards/ja...arnings(19653) |
Quote:
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 :) |
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.
|
bonnmac i can create it for you if you like...
X-Fan simply but in your postbit... PHP Code:
g-force2k2 |
Quote:
|
Thanks!
|
Quote:
g-force2k2 |
It's usergroup id # 8 and I'd like them to have full permissions like admins do. Please. And Thanks. :)
|
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 |
NP Take your time. Classwork is important. :) I just appreciate the fact that your willing to take the time to help me. Once again I might add.
|
btw ryans... im not an expert at javascript so im not sure... make sure that you hacked the admin/functions.php and the showthread.php regards...
g-force2k2 |
bonmac...
open admin/functions.php find: PHP Code:
PHP Code:
find: PHP Code:
PHP Code:
hopefull that'll do the trick bonmac :) regards and enjoy... g-force2k2 |
Thanks g-force! But I'm sorry to bug you again. After applying the new settings I'm getting this error?
"The requested URL /forums/java script:addwarnings(162) was not found on this server" Any ideas? It worked before? |
Quote:
|
Quote:
|
thank you much ryans :) i will apply the changes ;) im currently working on version two at the moment since it was very popular :p this one will be easier to configure and alot more expansive if you can believe that :) regards...
g-force2k2 |
this is one of the best hacks I've seen, very nice.
|
g-force2k2, after adding...
PHP Code:
|
X-Fan just remove the $post[warninglvl] from the postbit template then open admin/functions.php
find: PHP Code:
PHP Code:
g-force2k2 |
Quote:
|
my bad mate... i'll do it now :p regards...
open admin/functions.php find: PHP Code:
PHP Code:
find: PHP Code:
PHP Code:
edit: just upload the new warn.php to the forum directory ... regards again... g-force2k2 |
Quote:
|
Quote:
|
Hello
I have just installed your lovely hack but when i click on a on view warm for a member who haven't yet any warming the following message appears: Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in c:\easyphp\www\public_html\forums\warn.php(32) : eval()'d code on line 1 Can you tell me if its a bug or me who have made mistake thank you |
thefreestyle can you attach the warn.php file? thanks in advance... i will debug it if necessary... regards...
g-force2k2 |
hy g-force2k2 for the file it's the same as in the zip you have attached may be i have made a mistake when i installed it
please tell me if it works fine for you when a member have no warm and you click on view warm if so i will reinstall thank you in advance regards |
not really sure thefreestyler it seems fine on my side? have any idea if you made any changes to the php file? because its saying that there's a parse error with the file... regards...
g-force2k2 |
ok thank you for your help i will reinstall it
|
You say that I can't edit it, that means I can't even modify it to fix the postbit template more nicely? :(
|
Quote:
Modifying the post bit will be fine ;) |
k ;)
So I can modify templates, just not release add ons? ok I guess this goes the same for the total time online hack too |
Great hack, works like a charm:)
|
g-force2k2:
Do you have a time frame for version 2.0? I really look forward to seeing what you have done for the next version and having the ability to email a member a warning. Thanks, Parker |
Matt87 NTLDR is correct ;)
Parker Clack... release will be later tonight :) its looking extremely nice at this point :) will include and upgrade instructions from version 1.0 and it will require deleting all the templates but it will come with an installer this time ;) regards... just having my man beta test it and all :) i already did but don't want to pass anything up :p regards... Expect major modifications Parker... this is 2.0 not 1.1 :p not but seriously its looking really nice... alot more configurable and alot more optimizeable for everyone ;) g-force2k2 |
Cool!:)
I cant wait!:) Satan |
I seem to be missing a file? warnconfig.php is not in the zip?
|
will this work with 2.2.2 has any one tryed
thanks |
Quote:
yes really i see that myself.. whats up???? |
All times are GMT. The time now is 01:12 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|