TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 18, 2024, 03:48:33 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,164
  • Total Topics: 21,219
  • Online today: 190
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 124
  • Total: 124

Islamic Blocks [Quran & Hadith]

Started by akulion, May 06, 2006, 10:32:51 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

akulion

Hi

This is something I made for my site using Random Quotes Script by crip - a compilation of Quran and Hadith sayings.

Since there are a large amount of Muslim users who use SMF and TP I thought I would post it here in case someone wanted it :)

Demo: Look here

INSTALL INSTRUCTIONS [GENERAL]

1. Create a folder in your forum folder called quote

================================================

Random Quran (Holy Book Of Muslim)

INSTALL INSTRUCTIONS

1. Download this file - unzip and upload to your quote folder

2. Add this code to a PHP block:



include "./quote/randomquote1.php";



3. Activate and enjoy :)

Random Hadith (Sayings of the Prophet Mohammed)

INSTALL INSTRUCTIONS

1. Download this file - unzip and upload to your quote folder

2. Add this code to a PHP block:



include "./quote/randomquote0.php";



3. Activate and enjoy :)

copter

#1
Great work there :up: Thanks. ;) for sharing it with us, it sounds good these quotes and sayings. :)

akulion


Marshall

thanks man its a great idea i will use it on my site ;)
salam

pspfreak786

Great thanks for this i noticed u were muslim because u always posted P2P intresting website btw!
salam

akulion

walikum salam (Peace be upon you too)

You are welcome :D

eitbuzz

Asslamu Alaikum Guys !

This is Realy great piece of work & sharing :) , May Allah Bless you !

Mamoun

That's great, thanks for sharing!

Gazak allah khyran :)

akulion

walikum salam and wiyakum :D

for those onlookers wondering what all this means lol

Asslamu Alaikum: peace be upon you

walikum salam: peace be upon you too

Gazak allah khyran: May God recompnse you (a way to say thanks)

akulion

#9
I have improved a little on this block

it may not suit all themes but it gives it a more "ancient look"

Demo browse down until u see it (looks like a parchment)

Screen shot:


To add to your page simply first do this things pointed out in post 1 (the downloading and uploading - leave the code bits out...those are altered here) do this:

Download this and upload all images in it to your forum root

you can also upload the images elsewhere but if you do that then please make sure to update the code below with the path of the images

Then add this code in a PHP Box



echo'
<table border="0" width="100%" id="table1" cellpadding="0" style="border-collapse: collapse">
<tr>
<td width="15">
<img border="0" src="top_left.gif" width="15" height="24"></td>
<td background="top_center.gif" background-repeat:no-repeat>&nbsp;</td>
<td width="20">
<img border="0" src="top_right.gif" width="20" height="24"></td>
</tr>
<tr>
<td background="left.gif" width="15" background-repeat:no-repeat>&nbsp;</td>
<td background="bg.gif"><b>Quranic Wisdom</b>';include "./quote/randomquote1.php";
echo'
<br><b>Prophetic Wisdom</b>';
include "./quote/randomquote0.php";
echo'</td>
<td background="right.gif" width="20" background-repeat:no-repeat>&nbsp;</td>
</tr>
<tr>
<td width="15">
<img border="0" src="bottom_left.gif" width="15" height="23"></td>
<td background="bottom_center.gif">&nbsp;</td>
<td width="20">
<img border="0" src="bottom_right.gif" width="20" height="24"></td>
</tr>
</table>';



- dont use frame/title and dont allow block to collapse  (not really required but gives it a better look)

Finally activate your block and enjoy :)