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)
-   -   [RE-RELEASE vB2.0] signature-editor with preview (https://vborg.vbsupport.ru/showthread.php?t=12282)

SirSteve 09-07-2001 04:12 PM

HELP! Nothing UNDER the signature line will save! (if you try to edit it)
Biography:
Location:
Interests:
Occupation:

None of these will save any added (edited) data!

Here is my forums: http://www.sirstevesguide.com/forums

DarkReaper 09-14-2001 07:23 PM

Hm...on the "Who's online" page in vB 2.0.3 it says " Unknown Location: /forums/sedit.php?&action=show"

How do I fix this?

DarkReaper 09-15-2001 03:47 PM

Fixed.

To make it compatible with online.php, open online.php.

Find:
Code:

  default:
    $userinfo[activity] = 'unknown';
  }

BEFORE that, add this:
Code:

  case 'sedit.php':
    $userinfo[activity] = 'editsig';
    break;

Then find this:
Code:

    default:
      // Let's show the admin the location but put something false up for everyone else..
      if ($bbuserinfo[usergroupid] == 6) {
        $userinfo[location] = htmlspecialchars(stripslashes(replacesession($userinfo[location])));
        $userinfo[where] = "<b>Unknown Location:</b> <a href=\"$userinfo[location]\">$userinfo[location]</a>";
      } else {
        // We were unable to parse the location
        $userinfo[where] = "$bbtitle <a href='index.php?s=$session[sessionhash]'>Main Index</a>";;
      }

BEFORE that, add this:
Code:

    case 'editsig':
      $userinfo[where] = "Changing Forum Signature";
      break;


SirSteve 09-15-2001 06:50 PM

Is no one else having the problem I am having with the Location, Bio, etc NOT SAVING after adding this hack??

DarkReaper 09-15-2001 06:59 PM

Nope. Works fine for me. What version of vB are you using? Make sure you modified the files correctly.

NYI Fan 09-20-2001 12:11 AM

What a great addition! Thank you to all who put effort into this easy-to-install hack!

LovePhpNuke 09-28-2001 07:27 AM

Hi,

Thanks for your hack, i have question:

can we add template name _editsignature in style file. If yes HOW?

bacause every time i upload new template.style file then i lost the _editsignature session.

Thanks.

pogo 09-28-2001 07:42 AM

Just add
Code:

_editsignature|||[templatedata]|||
to the end of your style file where [templatedata] is replaced by the _editsignature content.

Neo 09-28-2001 08:25 AM

how would i limit smilies/images to 4 per sig?

Neo 09-28-2001 08:38 AM

it also seems like it will not display the limited number of lines per sig. i set it and it still does not show up...

the code:
$adminsiglimit = 20;
$regsiglimit = 12;

but when i save and reload there is not number there it just says

Signature Limits
- lines or less
- 10 pictures/smilies or less

so can someone help


All times are GMT. The time now is 07:53 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.01226 seconds
  • Memory Usage 1,733KB
  • 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
  • (5)bbcode_code_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