Free Adult Tube-Video Script Forum
Any way to shorten the titles of the videos - Printable Version

+- Free Adult Tube-Video Script Forum (http://freeadultscript.com/forum)
+-- Forum: My Category (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Any way to shorten the titles of the videos (/showthread.php?tid=2919)



Any way to shorten the titles of the videos - bblatino - 20-05-2012 08:09 AM

Is there any way to shorten the titles of the videos?
Some titles are very long and make the site look bad, it would be nice to shorten the titles.

From already thank you very much. Cool


RE: Any way to shorten the titles of the videos - Role-Model - 22-05-2012 11:00 AM

Hi bblatino,
Just change in include/function.php next:

Find

'.urldecode($row['title']).'

Replace with:

'.substr(urldecode($row['title']),0,30).'...


Hope it will help to you Smile

Regards
Svetoslav


RE: Any way to shorten the titles of the videos - admin - 22-05-2012 12:39 PM

there is two .urldecode($row['title']).

you need to change both.

and to see the effect you need to clean caches


RE: Any way to shorten the titles of the videos - bblatino - 22-05-2012 06:01 PM

(22-05-2012 11:00 AM)Role-Model Wrote:  Hi bblatino,
Just change in include/function.php next:

Find

'.urldecode($row['title']).'

Replace with:

'.substr(urldecode($row['title']),0,30).'...


Hope it will help to you Smile

Regards
Svetoslav

Yea! substr i remember that! jaja thanks man! you open my mind! Big Grin

(22-05-2012 12:39 PM)admin Wrote:  there is two .urldecode($row['title']).

you need to change both.

and to see the effect you need to clean caches

yes admin thank`s! you rock!