![]() |
To use this hack for 3.6.2
Look for this in your postbit or legacy... Code:
<div id="post_message_$post[postid]">$post[message]</div> Replace with this... Code:
<if condition="$post['fieldx'] != '' OR $post['fieldx'] != ''"> Don't forget to change the X's to whatever fields you specified originally. |
I had to alter my code again.. something had messed things up... but not sure how many people use my version of the code here?
|
Updated my post! ^^
https://vborg.vbsupport.ru/showpost....1&postcount=76 Fixed the glitches, made it work right, now only selected usergroups can use the function, but everyone will be allowed to still see what they used. Just their own posts wont be changed unless they too are in that usergroup. |
Quote:
When I Used Your Code... I Got An Illegal String In The Template... Oh Well... I Finally Fixed The Color And Font... Thanks Gio |
Quote:
Code:
<!-- message --> |
Quote:
You have your field#'s wrong. Try this... Code:
<!-- message --> |
Quote:
|
works in 3.6, thanks installed!
|
Quote:
|
uhh, whenever I try to install this hack, it always disables Quick Edit, which sucks. Is there any way around it?
|
Someone want to help to get this in 3.6?
I am stuck at Display Size: 11 There is no display size in 3.6 |
Installed and looking great on 3.6.4! Had to edit post bit and legacy both.
|
Quote:
|
Don't worry about that...just pretend it isn't even there.:)
|
Thank you deezel
|
You're welcome, Cajunboy! Got it working?
|
Got it installed finally. Works like a charm. Thanks much!
|
Excellent! Happy to hear it!! :)
|
I've spent some time today getting this mod to work on 3.6.8 -- including the addition of font size too.
First, add a Personal Font Size field to the User Profile Fields. Make the options Use Forum Default medium large Or you can size by points 9pt 10pt 11pt 12pt Then, in the postbit template the replacement for: Quote:
Quote:
Hope this helps someone. |
Now when someone quotes your post, the color doesn't show up, anyone know how to make it work in quotes as well?
|
Apparently theres no way to make it work in quotes. *UNINSTALLED*
|
Worked. Thank you! My members will love this :D
|
Works great! Converted fine.
|
Quote:
Hi there, I get this message when I try to install your code.. Code:
The following error occurred when attempting to evaluate this template: |
First, the error FENIX is getting is a syntax error... check to make sure you're opening and closing all of your quotes.
I haven't had a chance to play around with making this work in quotes, but here's what I got set up on 3.6.8 that seems to be working very well... First, create 3 new fields via User Profile Fields -> Add New Profile Field Field 1: --------- Type: Single-Line Text Box Title: Default Post Color Description: Set the default color for your posts in hexadecimal format (e.g. #FF0000 = red). Hexadecimal color codes work like this: #[red][green][blue], with FF being the highest and 00 being the lowest. Look up hexadecimal in Wikipedia if you'd like a more in depth explanation. Max Length: 9 Field Length: 15 Required: No Editable: Yes Searchable: No Member List: No ---------- Field 2 ---------- Type: Single-Selection Menu Title: Default Post Font Description: Set the default font for your posts. Options:Arial Book Antiqua Century Gothic Comic Sans Courier Courier New Garamond Georgia Tahoma Times New Roman Verdana [whatever else you want to add/remove, etc.] Set Default: Yes, Including first blank... Required: No Editable: Yes Searchable: No Member List: No ---------- Field 3 ---------- Type: Single-Selection Menu Title: Default Post Font Size Description: Select the default size of the text in your posts. Options:9pt 10pt 12pt 13pt [whatever else you want to add/remove, etc.] Set Default: Yes, Including first blank... Required: No Editable: Yes Searchable: No Member List: No ------------------------------- Take a look at User Profile Field Manager and record the field names (e.g., field5, field6, etc.) for the fields you just created. Now replace COLOR, SIZE, and FONT in the below code with your field names. it's bold, because it's important ------------------------------- Find and replace in Postbit Templates -> postbit: Code:
<div id="post_message_$post[postid]">$post[message]</div> Code:
<div id="post_message_$post[postid]"> Find and replace in Postbit Templates -> postbit_legacy: Code:
<div id="post_message_$post[postid]">$post[message]</div> Code:
<div id="post_message_$post[postid]"> |
do not show in opera
|
Any idea to port this on VB4? :)
|
All times are GMT. The time now is 04:19 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|