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-RELEASED vB2.0.1] Upgraded Signature-Editor w/ Preview (https://vborg.vbsupport.ru/showthread.php?t=23933)

Keyser S?ze 05-05-2002 05:15 AM

this hack would be wonderful if it also had a way to upload a sig image to use :)

Dark Odin 05-06-2002 12:32 AM

*BUMP* Can you people please help me out here?

Dark Odin 05-07-2002 11:44 PM

*BUMP*

xeon 05-15-2002 07:59 PM

I like this hack, but it just doesn't seem to have all bugs worked out for 2.2.5. I have messed with it, but being a rookie I am a bit lost. At first attempt the preview showed the unformatted vbcode, I got that fixed. Now my sig link results in a vbullentin message box page, not the sedit page i used to have when i used this back in previous versions of vb. Any tips why clicking the link would not give me the sig editor?
Here's my modifyprofile add-in
PHP Code:

<tr>
    <
td bgcolor="#1D6AA0" colspan="2"><normalfont color="#EEEEFF" class="thtcolor"><b>Signature Editor and Preview</b></normalfont> <smallfont color="#EEEEFF" class=thtcolor>Optional signature you may use to appear at the bottom fo your posts.</smallfont></td>
</
tr>
<
tr>
    <
td bgcolor="#13486D" valign="top"><blockquote>$signaturepreview</blockquote></td>

    <
td bgcolor="#13486D" align="center"><a href="sedit.php?s=$session[sessionhash]&action=show"><img src="images/editsig.gif" width="122" height="23" border="0">
</
a></td>
</
tr

If this isn't where I need to be looking, where should I be?
[edit]It seems to work with Netscape fine, go figure IE is giving me trouble.[/edit]

*It would be really cool if this was updated and compiled.

Velocd 05-16-2002 12:31 AM

Ok, can somebody help me get this code working:

I want to display a signature link in the usercp navbar, and also an avatar link, like Vbulletin.org has.

See this attachment for the signature link (like FFRepublic has) and see the next post attachment for the avatar link. This way I can just remove the whole section of editing your avatar in the options page or profile page, and also it provides quicker access to the frequently used areas.

(the reason I ask for this and not do it myself is that I've tried and for some reason I can't get it to work correctly)

Velocd 05-16-2002 12:32 AM

Avatar Link:

Velocd 05-16-2002 03:37 AM

bump ^

Erwin 05-16-2002 06:03 AM

Velocd,

In the usercpnav template, find this:

Code:

        <td bgcolor="$cpnav[3]"><smallfont><b><a href="member.php?s=$session[sessionhash]&action=editoptions">Options</a></b></smallfont></td>
Add these lines directly after it:

Code:

        <td bgcolor="$cpnav[2]"><smallfont><b><a href="sedit.php?s=$session[sessionhash]&action=show">Signature</a></b></smallfont></td>
<td bgcolor="$cpnav[2]"><smallfont><b><a href="member.php?s=$session[sessionhash]&action=editavatar">Avatar</a></b></smallfont></td>

That should add the signature and avatar links to the usercp nav bar. :)

Erwin 05-16-2002 06:18 AM

A screenshot of what it should look like once you install it:

Velocd 05-16-2002 06:18 PM

Yes, but does it work correctly when you click on other links, like say click on options or the signature link, will the correct link above be highlighted? There should be some type of php file modification...

For example, to see the issues I'm having refer to the below attachment:


All times are GMT. The time now is 12:55 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.01197 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_php_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