![]() |
Um, I get an error on the page when I go to edit the sig.... The part I have trouble with is this part... I'm new to Vb so I don't really know how to fix it myself...
Trouble l \/ The important part is <a href="javascript:openeditsigwindow(490,320,'$sessi on[sessionhash]','$post[userid]')">Edit Sig</a> you have to add this somewhere in the postbit template. I don't know exactly where to put that. and for this... you said there was a space between edit and sig so it looked like this edit sig... well I can't find that, so is it already corrected? well thanks showthread ------------------------- below function aimwindow(aimid) { window.open("member.php?action=aimmessage&aim="+ai mid,"_blank","toolbar=no,location=no,menubar=no,sc rollbars=no,width=175,height=275,resizeable=yes,st atus=no") } add function openeditsigwindow(x,y,sessionhash,userid) { window.open("moderator.php?action=editsig&s"+sessi onhash+"&userid="+userid, "EditSig", "toolbar=no,scrollbars=yes,resizable=yes,width="+x +",height="+y); } |
please pm me the url to your forum as it is much easier to debug javascript errors by seeing them as the code is visible in the page source.
Also please don't post instructions on this hack in the thread please. |
Quote:
|
I agree,
That would be great! |
That would be great! You think you can make the addon to your hack ppn?
|
ok its like 2 lines of code :)
re-download the main file and redo the if ($action=="updatesig") { part of the hack if your too lazy to download the file then in the modified code look for PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Hmmm. That didn't seem to work. :(
In the first line of code you said to find, I do not have that in my moderator.php. I do have a very similar line - PHP Code:
I added the line of code in front of that line, and then added the last "}". Now, when I go to edit a sig, I get the box, edit it, and click save - The box goes white and no update is saved. Any ideas? |
I thought this was something else, I am glad to see what it actually is, I am doing my final postbit edit, I will get back to u in a sec becuase I modified a few files to the users benefit
|
Ok peepz, I got it working!
By the way, thanks so much PPN for this extrodinary hack! I used to have members having little f*** you smilies in their sig, things insulting other members and it got so annoying I just let it go. When I finally took the time to read your hack, I noticed how easy it would make my job, so I typed up a quick rules script and made an edit to editsig_suspend template. Anyway, if you have any rules or anything you want displayed, and you want their username displayed, you can replace your current editsig_suspend template with the following code: PHP Code:
|
whoops i made a mistake o_O
its not after the editsig_error it should be after the editsig_done will edit that post now |
All times are GMT. The time now is 11:50 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:
|