Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 03-08-2001, 07:04 PM
Kier Kier is offline
 
Join Date: Oct 2001
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Latest version: 1.4 / 12th March 2001



This major rewrite of my original vbcode buttons hack now supports two code-entering modes, allowing complex nesting of vBcode tags, a limited number of clickable smilies on the posting page and a smiley overflow popup window.

Version 1.2 updates:
New replacement functions for array.push() and array.pop(), which are unsupported in IE versions less than 5.5. Everything should work properly in IE4.0, IE5.0 now. Also added a simple inline help/prompt system.
Version 1.4 updates:
Enhanced mode no longer allows multiple open tags of the same type ({b}{b}{b}xxxxx) etc).
Templateized the whole system for easier addition of more fonts/colours/sizes etc.
Moved all text-prompts to a separate vbcode_language.js file for easy modification for non-english boards
Updated documentation to fix spellchecker problems
Various cosmetic changes, mainly to prevent Nutscrape from messing it up...

Full documentation / installation / upgrade instructions are available here
A basic demo can be seen here.

The templates and code for the hack are attached to this post.

Please post comments, suggestions and questions in this thread.
Attached Files
File Type: zip vbcode1-4.zip (9.0 KB, 540 views)
  #2  
Old 03-08-2001, 09:20 PM
Guest
 
Posts: n/a
Default

Awsome, really really awsome hack. It just looks plain beautiful. The 404 thing i was talking about is nothing. It was just a bad server.
  #3  
Old 03-08-2001, 09:22 PM
Guest
 
Posts: n/a
Default

Aah, glad it works for you
  #4  
Old 03-08-2001, 10:39 PM
Guest
 
Posts: n/a
Default

wow, you did that smileys change already!!! you are a complete star. Thanks so much going to install this today.
  #5  
Old 03-08-2001, 10:42 PM
Guest
 
Posts: n/a
Default

p.s. before i go for this, are there any changes that result from the change to beta3 i just installed?
  #6  
Old 03-08-2001, 10:44 PM
Guest
 
Posts: n/a
Default

I'm just looking at the Beta3 code right now, but as far as I can see, there are no changes required to this hack for vB2.0b3 compatability

[edit]I've just finished upgrading, and the installation instructions for vb2.0beta2 require no modifications for beta3 installation.[/edit]
  #7  
Old 03-08-2001, 11:36 PM
Guest
 
Posts: n/a
Default

Ok what happened to me:

i) i could only find one place to change the code inside the private template?

ii) one of the template changes required you to add the name=vbcode as the form had apparently not been named. Perhaps add this to instructions

iii) the "enhanced mode" just gives me a javascript error

iv) when i tried to reply to a private message i just get "array". I don't know if this is because of the the vb beta 3 upgrade or because of the hack or beacuse i could not find the second place to edit the tempalte.

Thanks for a great hack getting these few things fixed would be wicked
  #8  
Old 03-08-2001, 11:55 PM
Guest
 
Posts: n/a
Default

i) i could only find one place to change the code inside the private template?

Sorry, that was an error in the documentation. It's calendar.php that requires the double replacement, not private.php

ii) one of the template changes required you to add the name=vbcode as the form had apparently not been named. Perhaps add this to instructions

Done

iii) the "enhanced mode" just gives me a javascript error

That's wierd... I can't reproduce that at all, and I've tested with IE5, IE5.5, NS4.6 and NS6.0... have you got a link to a page where I can see this happening?

iv) when i tried to reply to a private message i just get "array". I don't know if this is because of the the vb beta 3 upgrade or because of the hack or beacuse i could not find the second place to edit the tempalte.

Likewise, I can't reproduce that either. A link would help in the diagnosis.
  #9  
Old 03-09-2001, 12:01 AM
Guest
 
Posts: n/a
Default

<a href="http://ascifi.com/forums/newreply.php?action=newreply&threadid=2987" target="_blank">http://ascifi.com/forums/newreply.ph...&threadid=2987</a>

is a place to try but you would have to register don't worry if you don't have time at the mo.

The smileys are also not coming in with reply but i think this is probably me not installing it properly. I am not sure how i could have done the "array" thing or the javascript error though.
  #10  
Old 03-09-2001, 12:08 AM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by chrispadfield

The smileys are also not coming in with reply
Yeah that was me, fixed it. Not sure about the others though?
Closed Thread


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 06:07 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.03882 seconds
  • Memory Usage 2,253KB
  • Queries Executed 14 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (1)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete