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)
-   -   Sig Editor (https://vborg.vbsupport.ru/showthread.php?t=32086)

ZiRu$ 04-19-2002 12:47 PM

i wish this was re-made so that only ADMINS could change the sigs

Scott MacVicar 04-19-2002 02:18 PM

If it was an admin then he can just go into the admin panel....
This hack was designed to let mods who don't have access to the admin panel to be able to edit the signatures of users with abusive sigs.

Scott

Jawelin 04-19-2002 03:17 PM

Quote:

Originally posted by PPN
Hmm I guess I can do this it follows the principles of the hideing the IP link from normal users which is in my sig.
... and as ip.gif you could kindly give us (all of us who used that link in postbit_ip_hidden template) some nice icon for 'edit signature' ... :laugh:
Couldn't you ?
:bandit:

Takara 05-07-2002 06:13 AM

Thanks verra much for the hack ^_^

I kinda, hid the hack behind the foldericon. In functions.php find:

Code:

        if ($post[dateline]>$bbuserinfo[lastvisit]) {
                $post[foldericon]="<img src=\"https://vborg.vbsupport.ru/images/posticonnew.gif\" border=\"0\" alt=\"New Post\">";
        } else {
                $post[foldericon]="<img src=\"https://vborg.vbsupport.ru/images/posticon.gif\" border=\"0\" alt=\"Old Post\">";
        }

and replace by

Code:

        if ($post[dateline]>$bbuserinfo[lastvisit]) {
                $post[foldericon]="<a href=\"javascript:openeditsigwindow(490,320,'$session[sessionhash]','$post[userid]')\"><img src=\"https://vborg.vbsupport.ru/images/posticonnew.gif\" border=\"0\" alt=\"New Post\"></a>";
        } else {
                $post[foldericon]="<a href=\"javascript:openeditsigwindow(490,320,'$session[sessionhash]','$post[userid]')\"><img src=\"https://vborg.vbsupport.ru/images/posticon.gif\" border=\"0\" alt=\"Old Post\"></a>";
        }

works nicely ^_^

Jawelin 05-07-2002 06:56 AM

Yeh, but what's the relationship between [Newpost] and Edit signature, to use that button ? ;)
Thnx

Rose 05-08-2002 05:26 PM

PPN - I'm having problems with this hack, royally! I think I finally have it so two of the three admins can edit members posts, but not the third admin. Mods, it seems, can't edit anything. And no one can edit admin posts (admin, I mean). Could you maybe look at my moderator.php to see how badly I seem to have messed it up? I have it working on one board, but not on this one. I'd give you a url, but the domain isn't set up yet and the boards not open (maybe by Thursday).

Elentari 05-14-2002 01:03 AM

Hi :)
Ive installed this hack this evening, and it seems to be working ok, except that I'm getting an IE error on the page now!!

The address where I'm getting this error is
http://www.christiansurvivors.com/fo...?s=&threadid=4

Hope someone can help ;) Its probably something stupid and all my fault! *sigh* :nervous:

Scott MacVicar 05-14-2002 06:03 AM

its looking fine for me, no javascript errors or anything.

Elentari 05-14-2002 11:35 AM

Its not a javascript error. Its an IE error, that comes up on every thread ... you know, the small yellow warning sign that IE pops up every now and then?
The exact warning is as follow :
Quote:

Line : 1198
Char : 63
Error : Undetermined String Constant
Code : 0
Url : http://www.christiansurvivors.com/fo...?s=&threadid=4
Hope that helps some?

Just one more question - in the downloadable file, it says you need to create 3 templates, then appears to tell you 4 templates that you need to make. Am I right in having all 4?? (editsig; editsig_done; editsig_error; & editsig_suspend)

Scott MacVicar 05-14-2002 04:03 PM

I'm looking at the board now and i'm getting no javascript error at all.


All times are GMT. The time now is 01:04 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.01235 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)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