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)
-   -   New vbcode.js - vBcode and smilie user interface improvement (https://vborg.vbsupport.ru/showthread.php?t=24033)

s.molinari 08-01-2001 05:14 PM

Quote:

Originally posted by inetd
Please post screenshot of this hack.
Hello inetd,

A screen shot is practically useless. The improvement is in the functionality and you can't take a picture of that. A screen shot would look just like any other vB Board. You wouldn't see a difference.


Scott

s.molinari 08-01-2001 07:35 PM

Demo Board now available for a short time!

Sorry demo board is closed.


Scott

jucs 08-01-2001 11:23 PM

Ugggh, too many changes..too much time for such a small improvement with no complaints now.

When I first saw this it was "cool"..just replace the file. Then, I saw the LONG list of changes to a bunch of files.

Oh well. :)

tubedogg 08-01-2001 11:29 PM

Honestly, it took me approximately 60 seconds to make all the required changes...

s.molinari 08-02-2001 05:48 AM

60 seconds? Wow....:D

I made the hack and it took me 120 seconds. Seriously, about 10 minutes and the hack should be up and running. I believe my instructions are a bit more cumbersome than the actual work that they describes. So don't let my longwindedness scare you.:)


Scott

VirtueTech 08-02-2001 06:59 AM

jucs please :rolleyes:

Scott - I added the 'get more' smilies additon...works awesome....it even brings the user back to their textarea in the original window after.

I'm sure if we wanted we could even put a 'close window' in the link to so that once they choose the smilie and added it...it closed the window all in one click.


I wonder if that would be good....or if the window should stay open.

Here is the code to CLOSE the 'get more smilies' window after you click. This will allow the process of adding and closing the 'get more smilies' window a one click process.

AFTER you make both Scotts changes just change your vbcode__popup_smiliebits

From:
PHP Code:

<a href="java script:opener.smilie('$smilie[text]')"

To:
PHP Code:

<a href="java script:opener.smilie('$smilie[text]'),self.close()"

Very simple and makes things cleaner. Not for everyone though....some people might want to leave the window open to add more. But I'll just let the user open the window again. :cool:

Thanks again Scott and Vincent Puglia for this....truly a simple yet very useful addition.

dost 08-02-2001 02:12 PM

You forgot to mention to add the code to the editpost template.

VirtueTech 08-02-2001 03:08 PM

Dost - I did ?

dxb 08-02-2001 08:38 PM

it worked fine

except that problem with the space between the java and script drove me crazy hahahah I installed the hack twice and removed it then I noticed the space problem :) now it's working fine

thanks Scott

ThomasP 08-02-2001 08:41 PM

Hi,
works great in 2.0.3

I edited <a href="java script to <a href="javascript .
cu,
-Tom


All times are GMT. The time now is 05:57 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.01171 seconds
  • Memory Usage 1,740KB
  • 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_php_printable
  • (1)bbcode_quote_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