vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   [RELEASE vB2.0] Code Buttons and Clickable Smilies (major update) (https://vborg.vbsupport.ru/showthread.php?t=10830)

03-09-2001 06:29 PM

i love the hack, the only annoying thing is it means you can't use the tab button so easily when replying to get to the post box... to get that to work would require a major rehash of the templates (puting the text box on the left where Your Reply is now and the putting all the vb code and smileys on the right.) maybe in the future i might do this though.

03-09-2001 06:44 PM

Quote:

Originally posted by pestilence
added this to b3 and when i enter the calendar and try to enter a pub event nothing shows up the template seems to be unchanged but if i goto the templates they are all there as require dthe custom ones and the changed calendar_enterevent ???
any ideas

calendar requires the change to be made twice, did you do it twice (one for public one for private events i assume).

edit: that is in calendar.php i mean.

03-09-2001 06:59 PM

This could be fixed with the 'tabindex' property:

Quote:

The TABINDEX attribute can be used to set a tabbing order for the user to navigate around the main <FORM>. For example, if <FORM> elements have TABINDEX properties set, when the user is focused on an element, pressing the 'Tab' key will pass the focus to the element with the next highest TABINDEX property.

03-09-2001 07:29 PM

thanx mate spot on i forgot the second instance :) works like a charm now...kudos to kier on a job well done :)

03-09-2001 08:04 PM

Kier, i have most of them but i don't see the paddle pop one in the members area, maybe it was because i am half asleep

03-10-2001 07:02 AM

How to specify the max number of smilies to display on the posting page? in another word how to set value of $maxSmilies ?

03-10-2001 08:04 AM

Quote:

Originally posted by Mas*Mind
One question though: Why don't you use the vbulletin standard template mechanism in order to integrate it fully into it and make it easier to let it be included in a next version?
Most of the hack is handled through the standard template system. The only thing that isn't done with templates is the text for the onmouseover prompt box. All the text for this is included in the vbcode.js file, in order to speed-up page load times, as the vbcode.js file is cached by the browser. It's easy to find the text to replace in the vbcode.js file though, if you want to change it.

Quote:

Originally posted by Mas*Mind
Looks very good! One thing though; The standard javascript-prompts are ugly as hell, it would be very nice if a next version contains self designed popups where you can fill in some parameters...
The only thing that uses a javascript alert() prompt in version 1.2 is the [help] link. If you are referring to the actual text prompt boxes, I won't be altering these, as loading a new page for each prompt is (IMO) too slow and unneccesary for a simple text input.

Quote:

Originally posted by epic
How to specify the max number of smilies to display on the posting page? in another word how to set value of $maxSmilies ?
This is explained in the documentation. Simply add two arguments to the call to getclickysmilies() on each page.

For a table with 3 columns and 10 smilies, use this:

PHP Code:

$vbcode_smilies getclickysmilies(3,10); 


03-10-2001 09:02 AM

Kier-

Just wanted to say thanks for the great hack.... I got it up and running in no time thanks to the great docs, and really love it.

Thanks :)

03-10-2001 04:09 PM

Parse error: parse error in ./global.php on line 78

After I uploaded admin/functions.php :(

03-10-2001 06:04 PM

Quote:

Originally posted by DeathLoad
Parse error: parse error in ./global.php on line 78

After I uploaded admin/functions.php :(

Without a more in-depth explanation of your error, all I can suggest is that you didn't copy the new code into functions.php properly.


All times are GMT. The time now is 08:26 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.01083 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)bbcode_php_printable
  • (6)bbcode_quote_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