Request: Shoutbox Mod for BBTech

This forum is now closed. Please ask all styles-related questions in the phpBB 3.0 Styles Support & Discussion Forum.
Locked
MicroByte
Registered User
Posts: 8
Joined: Fri Jan 13, 2006 7:37 pm

Request: Shoutbox Mod for BBTech

Post by MicroByte »

Could someone do this?
http://www.phpbb.com/phpBB/viewtopic.php?t=344482 to this template: http://www.phpbb.com/phpBB/viewtopic.php?t=162324

I would be greatly thankful if someone would do this..!

User avatar
Noxwizard
Support Team Leader
Support Team Leader
Posts: 10383
Joined: Mon Jun 27, 2005 8:41 pm
Location: Texas, USA
Name: Patrick Webster
Contact:

Post by Noxwizard »

There's not much to change, you should be able to do it.

Code: Select all

# 
#-----[ OPEN ]------------------------------------------ 
#

templates/BBTech/admin/board_config_body.tpl

# 
#-----[ FIND ]------------------------------------------ 
#

	<tr>
		<th class="thHead" colspan="2">{L_COOKIE_SETTINGS}</th>
	</tr>

# 
#-----[ BEFORE, ADD ]------------------------------------------ 
#		

	<tr>
		<th class="thHead" colspan="2">{L_SHOUTBOX}</th>
	</tr>
	<tr>
		<td class="row2" colspan="2"><span class="gensmall">{L_SHOUTBOX_EXPLAIN}</span></td>
	</tr>
	<tr>
		<td class="row1">{L_GUEST_SHOUTBOX}</td>
		<td class="row2"><input type="radio" name="guest_shoutbox" value="1" {SHOUTBOX_GUEST_YES} /> {L_YES}&nbsp;&nbsp;<input type="radio" name="guest_shoutbox" value="0" {SHOUTBOX_GUEST_NO} /> {L_NO}</td>
	</tr>
	<tr>
		<td class="row1">{L_SHOUTBOX_ROWS}</td>
		<td class="row2"><input class="post" type="text" maxlength="5" size="2" name="rows_shoutbox" value="{SHOUTBOX_ROWS}" /></td>
	</tr>

# 
#-----[ OPEN ]------------------------------------------ 
#

templates/BBTech/index_body.tpl

# 
#-----[ FIND ]------------------------------------------ 
#

<table width="100%" cellspacing="0" border="0" align="center" cellpadding="2">
  <tr> 
	<td align="left"><span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a></span></td>
	<td align="right"><span class="gensmall">{S_TIMEZONE}</span></td>
  </tr>
</table>

# 
#-----[ AFTER, ADD ]------------------------------------------ 
#

<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
  <tr> 
	<td class="catHead" colspan="2" height="28" align="center"><span class="cattitle"><a href="{U_SHOUT_LINK}" class="cattitle">{L_SHOUTBOX}</a></span></td>
  </tr>
  <!-- BEGIN no_shout_row -->
	<tr> 
		<td class="row1" colspan="2" align="center" valign="middle" width="100%">
			<span class="gensmall">
			<b>{L_NO_SHOUTS}</b>
			</span>
		</td>
	</tr>
  <!-- END no_shout_row -->   
  <!-- BEGIN shout_no_guest -->
	<tr> 
		<td class="row1" colspan="2" align="center" valign="middle" width="100%">
			<span class="gensmall">
			<b>{L_NO_GUESTS}</b>
			</span>
		</td>
	</tr>
  <!-- END shout_no_guest -->  
  <!-- BEGIN shout_row -->
  <tr> 
	<td class="row1" align="center" valign="middle" width="15%">
		<span class="gensmall">
		<b>{shout_row.U_AUTHOR}</b><br />
		{shout_row.L_DELETE}
		</span>
	</td>
	
	<td class="row2" align="left" width="85%">
		<span class="gensmall">
		&nbsp;{shout_row.U_DATETIME}: {shout_row.U_SHOUT}
		</span>
	</td>
  </tr>
  <!-- END shout_row -->
  <tr>
	<form action="{F_FORM}" method="post">
		<td class="row3" colspan="2" align="center" width="100%">
		<span class="gensmall">
		<input type="text" name="shout" length="50" maxlength="255" /> <input type="submit" value="{L_SUBMIT}" />
		</span>
		</td>
	</form>
	</tr>
</table>
<br />

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
[Support Template] - [Read Before Posting] - [phpBB Knowledge Base]
Do not contact me for private support, please share the question in our forums.

MicroByte
Registered User
Posts: 8
Joined: Fri Jan 13, 2006 7:37 pm

Post by MicroByte »

Ok, thanks... But do you know what should i do? They said that i must first change files then run shoutbox_install.php. But the ShoutBox manual says that first run the file and then edit files... So, what should i do?

User avatar
Noxwizard
Support Team Leader
Support Team Leader
Posts: 10383
Joined: Mon Jun 27, 2005 8:41 pm
Location: Texas, USA
Name: Patrick Webster
Contact:

Post by Noxwizard »

The instructions say:

Code: Select all

#
#-----[ COPY ]------------------------------------------
#
 
copy shoutbox.php to shoutbox.php
copy shoutbox_install.php to shoutbox_install.php
copy templates/subSilver/shoutbox_body.tpl to templates/subSilver/shoutbox_body.tpl

#
#-----[ DIY INSTRUCTIONS ]------------------------------------------
#

Run shoutbox_install.php to run the SQL.
So, first put the files where they need to be, except put shoutbox_body.tpl in your BBTech folder. Then run shoutbox_install.php, and delete it once you've run it. Then do the code changes that follow.
[Support Template] - [Read Before Posting] - [phpBB Knowledge Base]
Do not contact me for private support, please share the question in our forums.

galenlott
Registered User
Posts: 11
Joined: Sun Jan 22, 2006 6:03 am

Post by galenlott »

sorry this isnt really n topic but can anyone here please help me by editing the logo to say "Hackers United" ?

User avatar
Noxwizard
Support Team Leader
Support Team Leader
Posts: 10383
Joined: Mon Jun 27, 2005 8:41 pm
Location: Texas, USA
Name: Patrick Webster
Contact:

Post by Noxwizard »

That needs to be asked here:
Image Requests
[Support Template] - [Read Before Posting] - [phpBB Knowledge Base]
Do not contact me for private support, please share the question in our forums.

Locked

Return to “[2.0.x] Styles Development & Discussion”