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

Reply
 
Thread Tools
VBCodes and smilies in thread and post title Details »»
VBCodes and smilies in thread and post title
Version: 1.00, by grog6 grog6 is offline
Developer Last Online: Dec 2008 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 03-17-2003 Last Update: Never Installs: 31
 
No support by the author.

Installation time : 20 sec

With this hack you will be able to add in your thread and posts titles vbcodes and smilies
This modifications is displayed in the forumdisplay, in the postbit, in the navbar, in the who's onlinne, and in the search.php

Moreover, in your browser titlebar, they aren't displayed

Files to modify : 3

You will now be able to create original and colored title for your post :bunny:






Ce hack est tout simple a mettre en place : 20 sec d'installation

Il permet de rajouter dans les titres de forums des smileys et les vbcodes et ainsi de les voir s'afficher
dans la liste des forums :-D

Ainsi vous pourrez creer des posts avec un titre original, color?

Fichier a modifier : 3




Here is the french version
Voici la version francaise

Show Your Support

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

Comments
  #12  
Old 03-18-2003, 04:43 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm isn't there one?

i'll tell Erwin to add one, he's the bb code specialist
Reply With Quote
  #13  
Old 03-18-2003, 05:49 PM
Enforcer Enforcer is offline
 
Join Date: Mar 2003
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so far it works ... but:

mais ici je voit seulement ça:

or did I miss smth?
Reply With Quote
  #14  
Old 03-18-2003, 06:28 PM
grog6's Avatar
grog6 grog6 is offline
 
Join Date: Apr 2002
Location: France
Posts: 328
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Enforcer : Are you sure you made modifications in the admin/functions.php ?
Reply With Quote
  #15  
Old 03-19-2003, 12:55 AM
Drowned Drowned is offline
 
Join Date: Apr 2002
Location: Guatemala, Central Americ
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Will users be able to use the SIZE vbcode? That could cause some problem with users making threads with HUGEEE fonts and the main index looking all weird... :S Just wondering...
Reply With Quote
  #16  
Old 03-19-2003, 07:57 AM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

^Yes, they can.

@grog: Nice hack, but what about the thread title in the browser?
Reply With Quote
  #17  
Old 03-19-2003, 08:02 AM
grog6's Avatar
grog6 grog6 is offline
 
Join Date: Apr 2002
Location: France
Posts: 328
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Lesane : If you have an idea about this contact me ...
Reply With Quote
  #18  
Old 03-19-2003, 08:46 AM
Davey Davey is offline
 
Join Date: Nov 2002
Location: England
Posts: 383
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice idea grog6.
Keep them coming

Dave.
Reply With Quote
  #19  
Old 03-19-2003, 08:49 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Today at 03:57 AM Lesane said this in Post #15
^Yes, they can.

@grog: Nice hack, but what about the thread title in the browser?
Here you go, buddy. I owed you one so here it is.

In showthread.php

Find

PHP Code:
$thread['title']=dowordwrap($thread['title']); 
And replace by

PHP Code:
$thread['title']=bbcodeparse(dowordwrap($thread['title'])); 
Reply With Quote
  #20  
Old 03-19-2003, 11:14 AM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hehe thanks Boofo. But that's not the problem, the problem is that it will not parse the vbcode/smilies on the title tag in your browser. Wich can't be obviously thus there is a need of a 2nd variable wich contains the title of the thread. The 'showthread' template needs to be edited, replacing $thread[title] in the title tag.
Reply With Quote
  #21  
Old 03-19-2003, 11:39 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I guess I'm confused here. The code I gave you parsed the thread title I use (the big one like on here at the top of the page) and the post titles fine. Do you mean something other than that?
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 05:32 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.05168 seconds
  • Memory Usage 2,306KB
  • Queries Executed 27 (?)
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_php
  • (1)bbcode_quote
  • (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
  • (3)pagenav_pagelink
  • (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_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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete