![]() |
VBCodes and smilies in thread and post title
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? :cool: Fichier a modifier : 3 Here is the french version Voici la version francaise |
And here the english version
Et ici la version anglais |
Result in the postbit and the navbar
Resultat dans le postbit et la barre de navigation |
Result in the forumdisplay
Resultat dans le forumdisplay |
Very nice grog :).
|
why are you so unfriendly to french people and use yellow color for them which is unreadable??
poor french users... use the highlight tag instead of color yellow. It's mentioned in the hack releasing rules: Quote:
|
Nice hacks. I've used all of them so far.
|
@ Xenon : Ok, xcuse me, I use blue style and all is ok for me ;)
Correct it now |
thx grog :)
as said if you want to highligh passages use [high] [/high] this shows up as yellow on dark blue style and red on the others :) |
Arghhhh ... too late, I've searched in the vbcodes but didn't found it .... why don't you add a button ?
It would be usefull ;) |
hmm isn't there one?
i'll tell Erwin to add one, he's the bb code specialist :) |
so far it works ... but:
mais ici je voit seulement ça: or did I miss smth? |
@Enforcer : Are you sure you made modifications in the admin/functions.php ?
|
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...
|
^Yes, they can.
@grog: Nice hack, but what about the thread title in the browser? ;) |
@Lesane : If you have an idea about this contact me ... :p
|
Nice idea grog6.
Keep them coming :) Dave. |
Quote:
In showthread.php Find PHP Code:
PHP Code:
|
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.
|
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? ;)
|
Look at the attached picture ;)
|
Oh, ok, that's easy. Just put this:
PHP Code:
PHP Code:
|
That won't work, i don't think that you can parse vbcode/smilies in the browser bar. You must re-parse it to take those vbcode tags and smilies away from the title bar.
|
I am parsing a vbcode out of it from another hack. ;) Did you try it?
|
Yes, i have tried it. Still those vbcode tags in the title bar + it reparsed the parsed showthread title...hehe.
|
Aha, I just rechecked my code and I am doing a preg_replace instead of a bbcodeparse. Maybe that makes a difference? ;)
|
Definately :D
|
Sorry about that. ;)
|
You can't display an image in your browser title bar ?? lol
Don't think I understood well :devious: Lesane, you just want to not display for exemple [VBCODE]title :-)[/VBCODE] in the browser title bar ... but 'Test' ?! |
d00d got an error while posting a thread
PHP Code:
|
sorted was another hack interfiering
great hack nice work /me Installs * |
Quote:
|
Awesome hack, my members are already in love with it :banana:
Just a few things I have noticed, but no biggie to me personally: 1. The who's online locations shows the Vb tags instead of the actual color/smilie 2. Its supports the glow text effect and the rainbow vb text, however; it removes the link to the thread. Awesome hack you have here :cool: Here's an example of number 2 http://www.belliesandbabies.com/boar...s=&forumid=168 |
what happens if a user uses the URL tag?
|
Quote:
I just tested it and it goes to the actual URL, not the thread :paranoid: |
@Sweet Cheeks : Humm, I'll try to resolve it (for the whosonline, there is no pb but I've no time now to search for it ;) and say you exactly what to replace)
@mikeB : Hummm ... that's right it could beannoying ... I'll try to find a sloution to remove some VBCodes from thread title ;) |
Thanks a bunch Grog :D
|
what about the Profile shows code not colours
|
sorted it if anyone needs code here
in member.php i found PHP Code:
PHP Code:
|
I'll made soon a release with others some things to replace and try to see what I could do for vbcodes ... ;)
|
All times are GMT. The time now is 04:44 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|