Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by VirtueTech VirtueTech is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-28-2001 Last Update: Never Installs: 43
 
No support by the author.

Credit goes to AA and Fryzid for their original hack found here: http://www.vbulletin.com/forum/showt...threadid=12282

HACK UPDATE:
I have updated this hack a bit with my fix above and some other additions as you'll see below.

Additions
  1. Adds new 'navbar' to header
  2. Adds Control Panel navbar to header
  3. Adds smilies window to signature editor
  4. Centralized Signature Limit Variable at top of script as an option.
  5. Ability to allow "Administrators" to have different siganture length.
  6. Fixes Bad_Madman's vbcode additon
  7. Cleans up HTML a bit
Screenshot


Directions
The attached file contains the following new items:
- '_editsignature' template
- sedit.php

Upgrading: Just replace the old template and php script with the new ones
First Time Install: Read the modified install.txt

07/29/01 6:19AM EST - First attachment had bad files. Please re-download.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #122  
Old 05-05-2002, 05:15 AM
Keyser S?ze's Avatar
Keyser S?ze Keyser S?ze is offline
 
Join Date: Apr 2002
Location: USA
Posts: 690
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this hack would be wonderful if it also had a way to upload a sig image to use
Reply With Quote
  #123  
Old 05-06-2002, 12:32 AM
Dark Odin Dark Odin is offline
 
Join Date: Jan 2002
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*BUMP* Can you people please help me out here?
Reply With Quote
  #124  
Old 05-07-2002, 11:44 PM
Dark Odin Dark Odin is offline
 
Join Date: Jan 2002
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*BUMP*
Reply With Quote
  #125  
Old 05-15-2002, 07:59 PM
xeon xeon is offline
 
Join Date: Oct 2001
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #126  
Old 05-16-2002, 12:31 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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)
Reply With Quote
  #127  
Old 05-16-2002, 12:32 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Avatar Link:
Reply With Quote
  #128  
Old 05-16-2002, 03:37 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump ^
Reply With Quote
  #129  
Old 05-16-2002, 06:03 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #130  
Old 05-16-2002, 06:18 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A screenshot of what it should look like once you install it:
Reply With Quote
  #131  
Old 05-16-2002, 06:18 PM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:00 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05101 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete