Here Are More
This is a small modification that will add a button to your postbit. Photobucket and Imageshack are very popular sites that provides image hosting. This modification will provide a button that will link to the Photobucket and/or Imageshack album of the user.
1. Make a Profile Field
Profile field type = Single-line text box
Title: Photobucket Album
Description: Type your photobucket album url here. Please note that your album must be public.
**To use for ImageShack Use this**
Profile field type = Single-line text box
Title: Imageshack Profile
Description: Type your Imageshack url here. Please note that your profile must be public.
You can leave the rest to default settings.
2. Template Changes in: postbit_legacy
Find:
Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]
Add in after:
Code:
<if condition="$post[fieldX] != ''"><a href="$post[fieldX]" alt="View my Photobucket" target="_blank">
<img src="images/misc/pb.gif" border="0"></a>
</if>
*Note down the number of the field! Example: field16. You need to replace the X in the next code with the number!*
**To use for ImageShack Use this**
Find:
Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]
Add in after:
Code:
<if condition="$post[fieldX] != ''"><a href="$post[fieldX]" alt="View my Imageshack" target="_blank">
<img src="images/misc/is.gif" border="0"></a>
</if>
other:
What Does this Hack Do? : This will provide you a easy-share.com mini uploading toolbar in quick reply!!
*In your template SHOWTHREAD, find:
Code:
<fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px">
<legend>$vbphrase[options]</legend>
<div>
<if condition="$bbuserinfo['signature']">
<div style="float:$stylevar[align=right]"><label for="cb_signature"><input type="checkbox" name="signature" value="1" id="cb_signature" tabindex="5" checked="checked" />$vbphrase[show_your_signature]</label></div>
</if>
<label for="qr_quickreply"><input type="checkbox" name="quickreply" value="1" id="qr_quickreply" accesskey="w" tabindex="4" />$vbphrase[quote_message_in_reply]</label>
</div>
</fieldset>
*Add under it:
Code:
<!-- anywares easyshare -->
<fieldset class="fieldset">
<legend>Easy Share Upload</legend>
<div> <label for="Easy Share Upload">
<table cellpadding="0" cellspacing="$stylevar[forumspacer]" border="0">
<tr>
<td>
<script type="text/javascript">
<!--
e_bgcolor = "#FFFFFF";
e_text = "#000000";
e_type = "605x55";
e_lang = "en";
//-->
</script>
<script type="text/javascript" src="http://www.easy-share.com/upload.js"></script> </td> </tr> </table>
</lable>
</div>
</fieldset>
<!-- end anywares easyshare -->
greetings:
Depending on which postbit you use, here's instructions for both.
In your postbit template, find this code:
PHP:
<div style="margin-top: 10px" align="$stylevar[align=right]">
Beneath it, paste the following:
PHP:
<if condition="$_REQUEST['do'] == 'showpm'"><div style="float:left;line-height:32px;height;32px;vertical-align:middle;"><img src="./images/smilies/santa-1-icon.gif" alt="Happy Holidays, Forum Members!" align="left" style="margin:0 7px 0 0;"/><b><font color="red">Happy Holidays,</font></b> <b><font color="green">$bbuserinfo[username]!</font></b></div></if>
SAVE!
In your postbit_legacy template, find this code:
PHP:
<td class="alt1" align="$stylevar[align=right]" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-left: 1px solid #f8f5e9">
</if>
Beneath it, paste the following code:
PHP:
<if condition="$_REQUEST['do'] == 'showpm'"><div style="float:left;line-height:32px;height;32px;vertical-align:middle;"><img src="./images/smilies/santa-1-icon.gif" alt="Happy Holidays, Forum Members!" align="left" style="margin:0 7px 0 0;"/><b><font color="red">Happy Holidays,</font></b> <b><font color="green">$bbuserinfo[username]!</font></b></div></if>
SAVE!
Be sure to upload your graphic to the smilies folder, I got my Santa smiley from
this site.
Glow Border:
Open up postbit or Postbit_Legacy
Search for
Code:
<if condition="$show['avatar']">
After that code copy in
Code:
<table style="filter:glow (color=#[color=Red]ff0000[/color] strength=[color=Red]4[/color])"><div class="smallfont">
Look for
Code:
<br /><a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]</phrase>" border="0" /></a>
Add this code after
Advanced Date and time:
Description: Will Add A More Advanced Time And Date. Pretty Simple
1 New Phrase
1 Template Edit
Install:
Find In Footer:
Code:
$vbphrase[all_times_are_gmt_x_time_now_is_y]
Replace With:
Adding a background image into the reply boxes:
Admin CP -> Styles & Templates -> Style Manager -> Main CSS (in the menu)
Edit these two sections
- WYSIWYG Editor
- Input Fields
Add the line below in the Standard CSS Attributes side, in the "background" field
Code:
#[color=#15a018]2D2D2D[/color] url([color=#15a018]images/yourimagehere[/color]) repeat-x center fixed
Replace the "
green" text with your color code & the path/filename of your background image.
example:
images/replyboxbg.gif
Then
add this into the Extra CSS Attributes box:
Code:
background-repeat: no-repeat;
background-position: center center;
Profile Enchancement Layout:
How easy is it to install?
Very easy, 1-3 minutes
Files to upload: 0
Template Edits: 1
Products to import: 0
Additional Files: 0
Screenshots?
Attached
Notes
Please be fair with me, this is my first modification, so for this reason it's not very advanced and many people would be able to do it. If anyone has any changes to my code, please let me know.
Even with this mentioned, please do not redistribute this file as your own work, if you really want to redistribute this, please give credit to me
Edits:
In template
MEMBERINFO
Find:
Code:
<if condition="$show['avatar']">
<img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">
$vbphrase[xs_avatar]</phrase>"
border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" />
<else />
Delete this.
Next, find:
Code:
<if condition="$userinfo['usertitle']">$userinfo[usertitle]</if>
Delete this.
Find:
Code:
<phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase>
</if>
$template_hook[memberinfo_groups]
Delete this.
Find:
Code:
<if condition="$show['membergroups']">
<dl id="membergroups_list" class="smallfont">
$membergroupbits
</dl>
<else />
Add below:
Code:
<b>Groups:</b>           
<phrase 1="$userinfo[username]">$vbphrase[x_is_not_a_member_of_any_public_groups]</phrase>
</if>
$template_hook[memberinfo_groups]
<br><br>
<b>Member Type:</b>  <if condition="$userinfo['usertitle']">$userinfo[usertitle]</if>
<br><br>
<b>Avatar:</b>            
<if condition="$show['avatar']">
<img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">
$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor];
border-top:none" />
<else />
$userinfo[username] has no avatar defined, define one
<a href="profile.php?do=editavatar">here</a>
</if>