1
ChadK
AddAnonces (myAds) no more SHOUTING TITLES
  • 2004/8/20 14:59

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


Add this to your myAds/addanonces.php file:
<b>Find:</b>
Quote:
global $xoopsConfig, $xoopsUser, $xoopsTheme, $xoopsLogger;
include(XOOPS_ROOT_PATH."/header.php");


<b>ADD THIS AFTER:</b>
Quote:
$title=ucwords(strtolower($title));


<b>RESULTING IN:</b>
Quote:
global $xoopsConfig, $xoopsUser, $xoopsTheme, $xoopsLogger;
include(XOOPS_ROOT_PATH."/header.php");
$title=ucwords(strtolower($title));


This will change titles such as:
Quote:
FOR SALE: ONE USED CAPS LOCK KEY


into:
Quote:
For Sale: One Used Caps Lock Key


Of course, it also changes:
Quote:
For Sale: Something like IBM


Into:
Quote:
For Sale: Something Like Ibm

which could be annoying...

Login

Who's Online

251 user(s) are online (167 user(s) are browsing Support Forums)


Members: 0


Guests: 251


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits