If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
[Name] says: instead of [Name]: in Comment  XML
Forum Index » Support Forum
Author Message
Ignatius
Beginner

Joined: 25/12/2003 06:49:24
Messages: 41
Offline

This should be an easy one, but I don't know enough about PHP to find the string I need to tweak.

When someone makes a comment to a message, I want it to read:


JoeBlow says:


instead of

JoeBlow:


Seems to me I should be able to just find the colon in the script and add " says" right before it. Yes?

Can anyone point me to the right file to edit?

Thanks kindly and happy holiday.
Ignatius
Beginner

Joined: 25/12/2003 06:49:24
Messages: 41
Offline

DOH!

Nevermind. I found it two minutes after posting this (I looked for half an hour before resorting to the post!). Must not have had enough coffee yet.

For anyone else who wants to make this mod, here's the code you look for:


In com.php:

<table width="90%" border="0" cellspacing="0" align="center">
<tr>
<td>
<hr size="1"><DIV class=comment>$com[name]:<br>
$com[comments]</div>
</td>
</tr>
</table>


Change it to:

<table width="90%" border="0" cellspacing="0" align="center">
<tr>
<td>
<hr size="1"><DIV class=comment>$com[name] says:<br>
$com[comments]</div>
</td>
</tr>
</table>


I made this mod because it clarifies that it's a response from [name] rather than a comment addressed to [name].

Hope somebody finds this useful!
Anonymous



This is my setup, text is blue and commenters name is bold.


<br>
<br>
<br>
<table width="90%" border="0" cellspacing="0" align="center">
<tr>
<td>
<hr size="1"><b><font size="1" font color="#0000FF" face="Verdana, Arial, Helvetica, sans-serif">$com[name] </b>svarar: <br>
$com[comments]</font>
</td>
</tr>
</table>
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum