Archive for vBulletin 4 Quick Tips and Customizations
Aug
07
Stop automatic quoting in PM replies
Posted by: | CommentsThis will prevent PMs from being quoted in replies however, as there is no 'Reply with quote' option in PMs this will remove the option to quote completely unless a user copies and pastes the original text into the reply.
Change 'newpost_quote' to read as follows:
Change 'newpost_quote' to read as follows:
Code:
<vb:if condition="THIS_SCRIPT != 'private'">[ QUOTE=$originalposter]{$pagetext}[/QUOTE]</vb:if>Aug
07
Stop automatic quoting in PM replies
Posted by: | CommentsThis will prevent PMs from being quoted in replies however, as there is no 'Reply with quote' option in PMs this will remove the option to quote completely unless a user copies and pastes the original text into the reply.
Change 'newpost_quote' to read as follows:
Change 'newpost_quote' to read as follows:
Code:
<vb:if condition="THIS_SCRIPT != 'private'">[ QUOTE=$originalposter]{$pagetext}[/QUOTE]</vb:if>Aug
05
Change CKEditor Colors to Match Style (for 4.1.4 and above)
Posted by: | CommentsAdd this code to your additional.css template to match the colors of the editor to the style you are using:
/* Background Color for CKEditor */
.cke_skin_kama .cke_wrapper {
background:{vb:stylevar postbithead_background} !important;
}
/* Background Color for CKEditor Buttons (Note, this may be too dark for some styles. If so you can delete this one.) */
.cke_skin_kama .cke_toolgroup {
background: {vb:stylevar postbit_foot_background} !important;
}
/* Background Color for CKEditor Hover Link*/
.cke_skin_kama a:hover {
background: {vb:stylevar control_content_hover_background} !important;
}
The additional.css template can be found here:
Admin CP -> Style Manager -> Edit Templates -> CSS Templates -> additional.css
Note: If you want to change these to your own custom colors, then use this code instead:
/* Background Color for CKEditor */
.cke_skin_kama .cke_wrapper {
background-color: #xxxxxx !important;
}
/* Background Color for CKEditor Buttons */
.cke_skin_kama .cke_toolgroup {
background-color: #xxxxxx !important;
}
/* Background Color for CKEditor Hover Link*/
.cke_skin_kama a:hover {
background-color: #xxxxxx !important;
}
...with xxxxxx being the hexcode of the color you wish to use.
/* Background Color for CKEditor Hover Link*/
.cke_skin_kama a:hover {
background: {vb:stylevar control_content_hover_background} !important;
// background: {vb:stylevar doc_background} !important;
}
Note: Fixed typo, thanks to RS_Jelle.
/* Background Color for CKEditor */
.cke_skin_kama .cke_wrapper {
background:{vb:stylevar postbithead_background} !important;
}
/* Background Color for CKEditor Buttons (Note, this may be too dark for some styles. If so you can delete this one.) */
.cke_skin_kama .cke_toolgroup {
background: {vb:stylevar postbit_foot_background} !important;
}
/* Background Color for CKEditor Hover Link*/
.cke_skin_kama a:hover {
background: {vb:stylevar control_content_hover_background} !important;
}
The additional.css template can be found here:
Admin CP -> Style Manager -> Edit Templates -> CSS Templates -> additional.css
Note: If you want to change these to your own custom colors, then use this code instead:
/* Background Color for CKEditor */
.cke_skin_kama .cke_wrapper {
background-color: #xxxxxx !important;
}
/* Background Color for CKEditor Buttons */
.cke_skin_kama .cke_toolgroup {
background-color: #xxxxxx !important;
}
/* Background Color for CKEditor Hover Link*/
.cke_skin_kama a:hover {
background-color: #xxxxxx !important;
}
...with xxxxxx being the hexcode of the color you wish to use.
/* Background Color for CKEditor Hover Link*/
.cke_skin_kama a:hover {
background: {vb:stylevar control_content_hover_background} !important;
// background: {vb:stylevar doc_background} !important;
}
Note: Fixed typo, thanks to RS_Jelle.
Aug
05
Change CKEditor Colors to Match Style (for 4.1.4 and above)
Posted by: | CommentsAdd this code to your additional.css template to match the colors of the editor to the style you are using:
/* Background Color for CKEditor */
.cke_skin_kama .cke_wrapper {
background:{vb:stylevar postbithead_background} !important;
}
/* Background Color for CKEditor Buttons (Note, this may be too dark for some styles. If so you can delete this one.) */
.cke_skin_kama .cke_toolgroup {
background: {vb:stylevar postbit_foot_background} !important;
}
/* Background Color for CKEditor Hover Link*/
.cke_skin_kama a:hover {
background: {vb:stylevar control_content_hover_background} !important;
}
The additional.css template can be found here:
Admin CP -> Style Manager -> Edit Templates -> CSS Templates -> additional.css
Note: If you want to change these to your own custom colors, then use this code instead:
/* Background Color for CKEditor */
.cke_skin_kama .cke_wrapper {
background-color: #xxxxxx !important;
}
/* Background Color for CKEditor Buttons */
.cke_skin_kama .cke_toolgroup {
background-color: #xxxxxx !important;
}
/* Background Color for CKEditor Hover Link*/
.cke_skin_kama a:hover {
background-color: #xxxxxx !important;
}
...with xxxxxx being the hexcode of the color you wish to use.
/* Background Color for CKEditor Hover Link*/
.cke_skin_kama a:hover {
background: {vb:stylevar control_content_hover_background} !important;
// background: {vb:stylevar doc_background} !important;
}
Note: Fixed typo, thanks to RS_Jelle.
/* Background Color for CKEditor */
.cke_skin_kama .cke_wrapper {
background:{vb:stylevar postbithead_background} !important;
}
/* Background Color for CKEditor Buttons (Note, this may be too dark for some styles. If so you can delete this one.) */
.cke_skin_kama .cke_toolgroup {
background: {vb:stylevar postbit_foot_background} !important;
}
/* Background Color for CKEditor Hover Link*/
.cke_skin_kama a:hover {
background: {vb:stylevar control_content_hover_background} !important;
}
The additional.css template can be found here:
Admin CP -> Style Manager -> Edit Templates -> CSS Templates -> additional.css
Note: If you want to change these to your own custom colors, then use this code instead:
/* Background Color for CKEditor */
.cke_skin_kama .cke_wrapper {
background-color: #xxxxxx !important;
}
/* Background Color for CKEditor Buttons */
.cke_skin_kama .cke_toolgroup {
background-color: #xxxxxx !important;
}
/* Background Color for CKEditor Hover Link*/
.cke_skin_kama a:hover {
background-color: #xxxxxx !important;
}
...with xxxxxx being the hexcode of the color you wish to use.
/* Background Color for CKEditor Hover Link*/
.cke_skin_kama a:hover {
background: {vb:stylevar control_content_hover_background} !important;
// background: {vb:stylevar doc_background} !important;
}
Note: Fixed typo, thanks to RS_Jelle.
Aug
05
Change CKEditor Colors to Match Style (for 4.1.4 and above)
Posted by: | CommentsAdd this code to your additional.css template to match the colors of the editor to the style you are using:
/* Background Color for CKEditor */
.cke_skin_kama .cke_wrapper {
background:{vb:stylevar postbithead_background} !important;
}
/* Background Color for CKEditor Buttons (Note, this may be too dark for some styles. If so you can delete this one.) */
.cke_skin_kama .cke_toolgroup {
background: {vb:stylevar postbit_foot_background} !important;
}
/* Background Color for CKEditor Hover Link*/
.cke_skin_kama a:hover {
background: {vb:stylevar control_content_hover_background} !important;
}
The additional.css template can be found here:
Admin CP -> Style Manager -> Edit Templates -> CSS Templates -> additional.css
Note: If you want to change these to your own custom colors, then use this code instead:
/* Background Color for CKEditor */
.cke_skin_kama .cke_wrapper {
background-color: #xxxxxx !important;
}
/* Background Color for CKEditor Buttons */
.cke_skin_kama .cke_toolgroup {
background-color: #xxxxxx !important;
}
/* Background Color for CKEditor Hover Link*/
.cke_skin_kama a:hover {
background-color: #xxxxxx !important;
}
...with xxxxxx being the hexcode of the color you wish to use.
/* Background Color for CKEditor Hover Link*/
.cke_skin_kama a:hover {
background: {vb:stylevar control_content_hover_background} !important;
// background: {vb:stylevar doc_background} !important;
}
Note: Fixed typo, thanks to RS_Jelle.
/* Background Color for CKEditor */
.cke_skin_kama .cke_wrapper {
background:{vb:stylevar postbithead_background} !important;
}
/* Background Color for CKEditor Buttons (Note, this may be too dark for some styles. If so you can delete this one.) */
.cke_skin_kama .cke_toolgroup {
background: {vb:stylevar postbit_foot_background} !important;
}
/* Background Color for CKEditor Hover Link*/
.cke_skin_kama a:hover {
background: {vb:stylevar control_content_hover_background} !important;
}
The additional.css template can be found here:
Admin CP -> Style Manager -> Edit Templates -> CSS Templates -> additional.css
Note: If you want to change these to your own custom colors, then use this code instead:
/* Background Color for CKEditor */
.cke_skin_kama .cke_wrapper {
background-color: #xxxxxx !important;
}
/* Background Color for CKEditor Buttons */
.cke_skin_kama .cke_toolgroup {
background-color: #xxxxxx !important;
}
/* Background Color for CKEditor Hover Link*/
.cke_skin_kama a:hover {
background-color: #xxxxxx !important;
}
...with xxxxxx being the hexcode of the color you wish to use.
/* Background Color for CKEditor Hover Link*/
.cke_skin_kama a:hover {
background: {vb:stylevar control_content_hover_background} !important;
// background: {vb:stylevar doc_background} !important;
}
Note: Fixed typo, thanks to RS_Jelle.
Aug
03
Custom BB Codes Used on vBulletin.com
Posted by: | CommentsAs requested, here are two of the Custom BB Codes that we use on these forums.
Title: Warning
BB Code Tag Name: warning
Replacement: <div class="contentnote" style="border: 1px solid #F00;color:#000;background-color:#F5FFFF;padding:5px;"><span style="color:#F00;background:transparent;"><b>Warning:</b></span> {param}</div>
Example: [warning]Before you upgrade your forums make sure you have a full and complete backup of your database[/warning]
Description: Allows content writers to place warnings within their content.
Use {option}: No
Button Image (Optional): <blank>
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: No
Disable Smilies Within This BB Code: No
Disable Word Wrapping Within This BB Code: No
Disable Automatic Link Parsing Within This BB Code: No
Title: Note
BB Code Tag Name: note
Replacement: <div class="contentnote" style="border: 1px solid #0B1986;color:#000;background-color:#F5FFFF;padding:5px;"> {param}</div>
Example: [note]This is a note placed within the content.[/note]
Description:Primarily used for documentation. Allows the author to add notes and have them stand out.
Use {option}: No
Button Image (Optional): <blank>
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: No
Disable Smilies Within This BB Code: No
Disable Word Wrapping Within This BB Code: No
Disable Automatic Link Parsing Within This BB Code: No
Title: Warning
BB Code Tag Name: warning
Replacement: <div class="contentnote" style="border: 1px solid #F00;color:#000;background-color:#F5FFFF;padding:5px;"><span style="color:#F00;background:transparent;"><b>Warning:</b></span> {param}</div>
Example: [warning]Before you upgrade your forums make sure you have a full and complete backup of your database[/warning]
Description: Allows content writers to place warnings within their content.
Use {option}: No
Button Image (Optional): <blank>
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: No
Disable Smilies Within This BB Code: No
Disable Word Wrapping Within This BB Code: No
Disable Automatic Link Parsing Within This BB Code: No
Title: Note
BB Code Tag Name: note
Replacement: <div class="contentnote" style="border: 1px solid #0B1986;color:#000;background-color:#F5FFFF;padding:5px;"> {param}</div>
Example: [note]This is a note placed within the content.[/note]
Description:Primarily used for documentation. Allows the author to add notes and have them stand out.
Use {option}: No
Button Image (Optional): <blank>
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: No
Disable Smilies Within This BB Code: No
Disable Word Wrapping Within This BB Code: No
Disable Automatic Link Parsing Within This BB Code: No
Aug
03
Custom BB Codes Used on vBulletin.com
Posted by: | CommentsAs requested, here are two of the Custom BB Codes that we use on these forums.
Title: Warning
BB Code Tag Name: warning
Replacement: <div class="contentnote" style="border: 1px solid #F00;color:#000;background-color:#F5FFFF;padding:5px;"><span style="color:#F00;background:transparent;"><b>Warning:</b></span> {param}</div>
Example: [warning]Before you upgrade your forums make sure you have a full and complete backup of your database[/warning]
Description: Allows content writers to place warnings within their content.
Use {option}: No
Button Image (Optional): <blank>
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: No
Disable Smilies Within This BB Code: No
Disable Word Wrapping Within This BB Code: No
Disable Automatic Link Parsing Within This BB Code: No
Title: Note
BB Code Tag Name: note
Replacement: <div class="contentnote" style="border: 1px solid #0B1986;color:#000;background-color:#F5FFFF;padding:5px;"> {param}</div>
Example: [note]This is a note placed within the content.[/note]
Description:Primarily used for documentation. Allows the author to add notes and have them stand out.
Use {option}: No
Button Image (Optional): <blank>
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: No
Disable Smilies Within This BB Code: No
Disable Word Wrapping Within This BB Code: No
Disable Automatic Link Parsing Within This BB Code: No
Title: Warning
BB Code Tag Name: warning
Replacement: <div class="contentnote" style="border: 1px solid #F00;color:#000;background-color:#F5FFFF;padding:5px;"><span style="color:#F00;background:transparent;"><b>Warning:</b></span> {param}</div>
Example: [warning]Before you upgrade your forums make sure you have a full and complete backup of your database[/warning]
Description: Allows content writers to place warnings within their content.
Use {option}: No
Button Image (Optional): <blank>
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: No
Disable Smilies Within This BB Code: No
Disable Word Wrapping Within This BB Code: No
Disable Automatic Link Parsing Within This BB Code: No
Title: Note
BB Code Tag Name: note
Replacement: <div class="contentnote" style="border: 1px solid #0B1986;color:#000;background-color:#F5FFFF;padding:5px;"> {param}</div>
Example: [note]This is a note placed within the content.[/note]
Description:Primarily used for documentation. Allows the author to add notes and have them stand out.
Use {option}: No
Button Image (Optional): <blank>
Remove Tag If Empty: Yes
Disable BB Code Within This BB Code: No
Disable Smilies Within This BB Code: No
Disable Word Wrapping Within This BB Code: No
Disable Automatic Link Parsing Within This BB Code: No
Aug
03
Optimize Your Scheduled Tasks
Posted by: | CommentsAt default there are some enabled scheduled tasks on vbulletin installation at default.
To check enabled scheduled tasks, go to :
admincp > Scheduled Tasks > Scheduled Task manager
Here are some scheduled tasks that can be disabled depending to your situation.
To check enabled scheduled tasks, go to :
admincp > Scheduled Tasks > Scheduled Task manager
Here are some scheduled tasks that can be disabled depending to your situation.
- Activation Reminder Email. Does your forum use email activation on user registration? If not, you can disable this.
- Attachment Views. Does your forum use attachment system? If not, you can disable this.
- Birthdays. This is personal choice, you can disable this to reduce mail load on the server :)
- CCBill Reversal Check. Do you use payment subscription? More specifically, do you use CCBill? If you do not use payment subscription / you do not use CCBill, you can disable this.
- Daily Digest. Send daily digest of new posts in threads and threads in forums. You can disable this depending on your need.
- Daily Statistic Log. This will update daily stats (user registration, new threads, etc on admincp). If you rarely view this stats, there is no reason to enable this task.
- Event Reminder. If your forum does not use event feature, you can disable this.
- RSS Poster Robot. If you do not use RSS to post on your forum, you can disable this.
- Subscriptions. If you do not use subscription system, you can disable this.
- User Promotions. If you do not use use user promotion system, you can disable this.
- Weekly Digest. Send weekly digest of new posts in threads and threads in forums. You can disable this depending on your need.
- Task A is at 03:10 AM
- Task B is at 05:20 AM
- etc
