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

Closed Thread
 
Thread Tools Display Modes
  #41  
Old 03-10-2001, 06:11 PM
Guest
 
Posts: n/a
Default

I pasted it in in after <?php

on the second line that is..

isn't that right ?
  #42  
Old 03-10-2001, 06:14 PM
Guest
 
Posts: n/a
Default

Guess a developer should pop in..

I will see what I can do about putting this into beta 4. Please let me know when it is considered in a finished state so I can modify it as needed to add CP options. This functionality was on our todo list but we didn't have a chance to get around to it so it is on the 2.1 list but this one looks very nice so we can go ahead and use it.
  #43  
Old 03-10-2001, 06:25 PM
Guest
 
Posts: n/a
Default

If this is going to be included in beta4 I will do some cleaning-up of the code and check some more browsers.

I will also alter the text-prompts system to use a template, for multi-language capabilities.

I'll post back soon.
  #44  
Old 03-10-2001, 06:27 PM
Guest
 
Posts: n/a
Default

Quote:
Originally posted by DeathLoad
I pasted it in in after <?php

on the second line that is..

isn't that right ?
Yes, that's right... what version of PHP are you using? As you can see, no one else (has reported) this error, so perhaps it's something wierd with your PHP version?
  #45  
Old 03-10-2001, 06:28 PM
Guest
 
Posts: n/a
Default

It needs to not break any browsers but it is acceptable if it doesn't work for everyone since it is javascript. I tested it with the webTV browser and had no major problems. I would have templateized it but if you want to go ahead
  #46  
Old 03-10-2001, 06:36 PM
Guest
 
Posts: n/a
Default

Okay, question:

When I am templatizing (new word of the day) the prompts, would you prefer to have one template which contains stuff like
Code:
bold_text = "prompt for bold text";
italic_text = prompt for italic text";
etc...
or to have lots of little templates for each prompt? The only problem I can forsee with having multiple templates is the fact that Javascript will freak if there are linebreaks in there.

I won't be adding the rest of the contents of vbcode.js to templates, as it seems like a huge waste of bandwidth to continually download the same static code for every posting. I'll be leaving that as an external javascript file.
  #47  
Old 03-10-2001, 06:52 PM
Guest
 
Posts: n/a
Default

We don't like lots of little templates unless it is something we really have to do.

Also I think I will add a user option to enable/disable using the Code Buttons and Clickable Smilies. I do forsee some power users being upset at being forced to view the options on their post entries.
  #48  
Old 03-10-2001, 07:03 PM
Guest
 
Posts: n/a
Default

Splendid.

In that case, I will templatize it like this:
  • vbcode_prompts
    will contain the javascript prompts that appear in the prompt textbox
  • vbcode_buttons
    will contain the main HTML for the buttons and menus
  • vbcode_fontbits
    will contain the <option> bits for the fonts select
  • vbcode_sizebits
    will contain the <option> bits for the font-size select
  • vbcode_colorbits
    will contain the <option> bits for the font-color select
  • vbcode_smilies
    will contain the table for the posting-page smilies
  • vbcode_smiliebits
    will contain the individial smilies for the posting page
  • vbcode_smilies_getmore
    will contain the button to launch the overflow smilies window
  • popup_smilies
    will contain the HTML for the smilies popup window
  • popup_smiliesbits
    will contain the individual smilies for the popup
Will that be acceptable?
  #49  
Old 03-10-2001, 07:14 PM
Guest
 
Posts: n/a
Default

That sounds fantastic!
I'm really looking forward to that!
  #50  
Old 03-10-2001, 07:42 PM
Guest
 
Posts: n/a
Default

Awsome hack!

Mines up @ http://forums.nzgn.net.nz/
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 01:40 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.07404 seconds
  • Memory Usage 2,239KB
  • 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_code
  • (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
  • (4)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (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
  • 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