PDA

View Full Version : [GUIDE] Basic editing of vBulletins



today
15-07-2007, 09:38 PM
Howdy!

I often visit this forum, and see many people wanting to know the same thing over and over, which they clearly dont SEARCH, peh, silly people! So hopefully if this gets stickied, (with your help) it will stop many threads asking the same thing, mainly this thread is STEP BY STEP, it will NOT include images, unless others make them (Y). the STEP BY STEP will be clearly stated and will help you alot if you READ carefully.

STYLE EDITING:
- Removing Banner
- Moving Banner
- Margin Editing
- Adding Copyright To Footer
- Adding Reputation Power To Postbit
- Changing Postbit To Legacy


Removing Banner;
Enter your AdminCP (See Quick Links)
Click "Styles & Templates" tab (to open)
Click "Styles Manager" (opens a new page)
Click drop down menu, "common templates"
Top box "header" (ONLY) delete ALL coding
Replace with the following codes and SAVE (bottom of page)
<!-- logo -->
<!-- content table -->
$spacer_open

$_phpinclude_output
Margin Editing;
Enter your AdminCP (See Quick Links)
Click "Styles & Templates" tab (to open)
Click "Styles Manager" (opens a new page)
Click drop down menu, "Main CSS"
Top box "Body" (ONLY) find "margin: 5px 10px 10px 10px;"

Replace with "0px" (left to right - top, right, bottom, left)

Save and reload index.php (forum home)Adding Copyright To Footer;
Enter your AdminCP (See Quick Links)
Click "Styles & Templates" tab (to open)
Click "Styles Manager" (opens a new page)
Click drop down menu, "common templates"
Bottom box "footer" (ONLY) delete ALL coding
Replace with the following codes
Find (ctrl & f) "NAME HERE" replace with company name
Save and reload index.php (forum home) and scroll to bottom.

<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

$spacer_close
<!-- /content area table -->

<form action="$vboptions[forumhome].php" method="get">

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<if condition="$show['quickchooser']">
<td class="tfoot">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</td>
</if>
<if condition="$show['languagechooser']">
<td class="tfoot">
<select name="langid" onchange="switch_id(this, 'lang')">
<optgroup label="$vbphrase[quick_language_chooser]">
$languagechooserbits
</optgroup>
</select>
</td>
</if>
<td class="tfoot" align="$stylevar[right]" width="100%">
<div class="smallfont">
<strong>
<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>
<if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if>
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
<if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
</strong>
</div>
</td>
</tr>
</table>

<br />

<div align="center">
<div class="smallfont" align="center">
<!-- Do not remove this copyright notice -->
$vbphrase[powered_by_vbulletin]<br>
Copyrighted 2007 - NAME HERE
<!-- Do not remove this copyright notice -->
</div>

<div class="smallfont" align="center">
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$cronimage
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

$vboptions[copyrighttext]
</div>
</div>

</form>

<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->

</if>
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>
Adding Reputation Power To Postbit;
Enter your AdminCP (See Quick Links)
Click "vBulltin Options" tab

Click "User Reputation Options" (from drop down)
Click the box "Enable User Reputation"
SAVE (bottom of page)Changing Postbit To Legacy;
Enter your AdminCP (See Quick Links)
Click "vBulltin Options" tab

Click "Style & Language Settings" (from drop down)
Click the box "Use Legacy (Vertical) Postbit Template"
SAVE (bottom of page)
If you require anymore help then please reply here or private message myself and i'll help you with any prolems you may have. If you got any ideas to inprove this guide then please feel free to reply with your comments and views!

Closel
16-07-2007, 07:08 AM
Really Nice
+rep If I Have Some
I Owe You.

Snex
16-07-2007, 08:22 AM
Howdy!

Adding Copyright To Footer;
Enter your AdminCP (See Quick Links)
Click "Styles & Templates" tab (to open)
Click "Styles Manager" (opens a new page)
Click drop down menu, "common templates"
Bottom box "footer" (ONLY) delete ALL coding
Replace with the following codes
Find (ctrl & f) "NAME HERE" replace with company name
Save and reload index.php (forum home) and scroll to bottom.

<br />
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

$spacer_close
<!-- /content area table -->

<form action="$vboptions[forumhome].php" method="get">

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<if condition="$show['quickchooser']">
<td class="tfoot">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</td>
</if>
<if condition="$show['languagechooser']">
<td class="tfoot">
<select name="langid" onchange="switch_id(this, 'lang')">
<optgroup label="$vbphrase[quick_language_chooser]">
$languagechooserbits
</optgroup>
</select>
</td>
</if>
<td class="tfoot" align="$stylevar[right]" width="100%">
<div class="smallfont">
<strong>
<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>
<if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if>
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
<if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
</strong>
</div>
</td>
</tr>
</table>

<br />

<div align="center">
<div class="smallfont" align="center">
<!-- Do not remove this copyright notice -->
$vbphrase[powered_by_vbulletin]<br>
Copyrighted 2007 - NAME HERE
<!-- Do not remove this copyright notice -->
</div>

<div class="smallfont" align="center">
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$cronimage
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

$vboptions[copyrighttext]
</div>
</div>

</form>

<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->

</if>
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>

Couldn't you just do that step by using the option which is in General Options about a copyright text.

today
16-07-2007, 11:21 AM
You can indeed but i also try and help peple to edit coding :) I also always use common temps to do copyright so it doesnt appear on all styles. :)

kyle♥
16-07-2007, 01:37 PM
Someone beat you to it.

http://www.habboxforum.com/showthread.php?t=371904

But his doesn't include most that yours does. Maybe they should be merged.

today
16-07-2007, 01:40 PM
Someone beat you to it.

http://www.habboxforum.com/showthread.php?t=371904

But his doesn't include most that yours does. Maybe they should be merged.

You'll find Jabba's has mainly information regarding links and plugins, mods.

Mine is editing coding only.

Though both together would be a good idea.

Lilian
16-07-2007, 03:48 PM
Really good guide. Helped me especially :)

+Rep

Edit: Says I must spread first :(

the wombats
16-07-2007, 03:50 PM
very good guide pinkeh! i'd rep but i gotta spread.

today
16-07-2007, 04:02 PM
LOL. i ent pinkeh thats u m8

and thanks Lily :)

Earthquake.
16-07-2007, 05:08 PM
Howdy!

I often visit this forum, and see many people wanting to know the same thing over and over, which they clearly dont SEARCH, peh, silly people! So hopefully if this gets stickied, (with your help) it will stop many threads asking the same thing, mainly this thread is STEP BY STEP, it will NOT include images, unless others make them (Y). the STEP BY STEP will be clearly stated and will help you alot if you READ carefully.

STYLE EDITING:
- Removing Banner
- Moving Banner
- Margin Editing
- Adding Copyright To Footer
- Adding Reputation Power To Postbit
- Changing Postbit To Legacy


Removing Banner;

Enter your AdminCP (See Quick Links)
Click "Styles & Templates" tab (to open)
Click "Styles Manager" (opens a new page)
Click drop down menu, "common templates"
Top box "header" (ONLY) delete ALL coding
Replace with the following codes and SAVE (bottom of page)
<!-- logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
Margin Editing;

Enter your AdminCP (See Quick Links)
Click "Styles & Templates" tab (to open)
Click "Styles Manager" (opens a new page)
Click drop down menu, "Main CSS"
Top box "Body" (ONLY) find "margin: 5px 10px 10px 10px;"
Replace with "0px" (left to right - top, right, bottom, left)
Save and reload index.php (forum home)Adding Copyright To Footer;

Enter your AdminCP (See Quick Links)
Click "Styles & Templates" tab (to open)
Click "Styles Manager" (opens a new page)
Click drop down menu, "common templates"
Bottom box "footer" (ONLY) delete ALL coding
Replace with the following codes
Find (ctrl & f) "NAME HERE" replace with company name
Save and reload index.php (forum home) and scroll to bottom.
<br />

<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

$spacer_close
<!-- /content area table -->

<form action="$vboptions[forumhome].php" method="get">

<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<if condition="$show['quickchooser']">
<td class="tfoot">
<select name="styleid" onchange="switch_id(this, 'style')">
<optgroup label="$vbphrase[quick_style_chooser]">
$quickchooserbits
</optgroup>
</select>
</td>
</if>
<if condition="$show['languagechooser']">
<td class="tfoot">
<select name="langid" onchange="switch_id(this, 'lang')">
<optgroup label="$vbphrase[quick_language_chooser]">
$languagechooserbits
</optgroup>
</select>
</td>
</if>
<td class="tfoot" align="$stylevar[right]" width="100%">
<div class="smallfont">
<strong>
<if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if>
<if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if>
<if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if>
<if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if>
<if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if>
<if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if>
<a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a>
</strong>
</div>
</td>
</tr>
</table>

<br />

<div align="center">
<div class="smallfont" align="center">
<!-- Do not remove this copyright notice -->
$vbphrase[powered_by_vbulletin]<br>
Copyrighted 2007 - NAME HERE
<!-- Do not remove this copyright notice -->
</div>

<div class="smallfont" align="center">
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->
$cronimage
<!-- Do not remove $cronimage or your scheduled tasks will cease to function -->

$vboptions[copyrighttext]
</div>
</div>

</form>

<if condition="$show['dst_correction']">
<!-- auto DST correction code -->
<form action="profile.php?do=dst" method="post" name="dstform">
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="dst" />
</form>
<script type="text/javascript">
<!--
var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff];
var utcOffset = new Date().getTimezoneOffset() / 60;
if (Math.abs(tzOffset + utcOffset) == 1)
{ // Dst offset is 1 so its changed
document.forms.dstform.submit();
}
//-->
</script>
<!-- / auto DST correction code -->

</if>
<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>
Adding Reputation Power To Postbit;

Enter your AdminCP (See Quick Links)
Click "vBulltin Options" tab
Click "User Reputation Options" (from drop down)
Click the box "Enable User Reputation"
SAVE (bottom of page)Changing Postbit To Legacy;

Enter your AdminCP (See Quick Links)
Click "vBulltin Options" tab
Click "Style & Language Settings" (from drop down)
Click the box "Use Legacy (Vertical) Postbit Template"
SAVE (bottom of page)
If you require anymore help then please reply here or private message myself and i'll help you with any prolems you may have. If you got any ideas to inprove this guide then please feel free to reply with your comments and views!

I just wanna say... fantastic formating with your text! I just wanna take this oppurtunity to share a bit of formatting one last time, Btw your the most brainist member of habbo to write all this.... If I wanted to I would just copy and paste ;s

Want to hide these adverts? Register an account for free!