PDA

View Full Version : Forum Home Enhancements - Ramadhaan Sehri/Aftaari Greetings


Kiran-E-Sehar
07-26-2012, 10:00 PM
AssalaaM-o-AlaikuM to all Muslims,

1st of all Happy Ramadhaan to all Muslims and wish you blessed Ramadhaan.

This is Mod is actually based on johncosta71292 (https://vborg.vbsupport.ru/member.php?u=268218)'s Mod https://vborg.vbsupport.ru/showthread.php?t=250300
so credit goes to johncosta71292 (https://vborg.vbsupport.ru/member.php?u=268218)

What this Mod will do,
On Sehri Time .......... Sehri Mubarak $username
After Sehri ...............Good Morning $username
Afternoon ................Good Afternoon $username
On Aftaari Time .........Sehri Mubarak $username
After Sehri ...............Good Evening $username

https://vborg.vbsupport.ru/attachment.php?attachmentid=140125&stc=1&d=1343353633

https://vborg.vbsupport.ru/attachment.php?attachmentid=140126&stc=1&d=1343353633

https://vborg.vbsupport.ru/attachment.php?attachmentid=140127&stc=1&d=1343353633


and username will show as HTML markup



Lets start,
Go to Admin CP> Styles & Templates> Style Manager> select your template > edit templates > header

Find:
<li class="welcomelink">{vb:rawphrase welcome_x_link_y, {vb:raw bbuserinfo.username}, {vb:link member, {vb:raw bbuserinfo}}}</li>

Replace with:
<li class="welcomelink"><script type="text/javascript" src="clientscript/welcome.js"></script> {vb:rawphrase welcome_x_link_y, {vb:raw bbuserinfo.musername}, {vb:link member, {vb:raw bbuserinfo}}}</li>
Now go to Languages and phrases and search for
Welcome, <a href="{2}">{1}</a>Replace with:
, <a href="{2}">{1}</a>Unzip file and upload to your forum.

And You Have Done
Mark as Installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=285983&token=71d16ac66dbf4aa875e74c273aa92b87)

Kiran-E-Sehar
07-27-2012, 12:54 AM
Please Mark as Installed, My 1st Effort :)