vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Glorious Qur'an (https://vborg.vbsupport.ru/showthread.php?t=190497)

msalman 10-03-2008 05:17 PM

^lol, bro did you un-comment the following lines, which I was using for testing purpose?
Code:

print_r($randayah); echo  $randayah[$langs[$lang2]];
I should have removed them. Did you had to make any changes in the template files or just simply upload the php file?

letsjoy 10-03-2008 07:12 PM

JazakAllah...May God Bless you :)

akulion 10-03-2008 09:15 PM

wow that was it bro!! lol I took out those lines and also had to add the div part you specified by echoing it out...I am attaching the actual file I used along with instructions for anyone wanting to use this with VBA (vbadvanced)

To Install:

1. Go to your admin panel and click on the vba panel to expand it

2. Click "Add Module"

3. Click [PHP File Module]

4. Now using your FTP program upload the attached file to /forum/modules/ directory (where the modules for vba are kept)

5. Back in your admin panel you will fill in the following details in the screen in front of you:
Module Title Random Quranic Verse
Active Yes
File to Include random_quran.php
Identifier rq
Templates Used leave empty
Clean File Output Yes
Use Module Wrapper Template No

6. Click "save" and then on the next screen you will be asked to choose a position for your module, I would recommend using it as a "center" block and thats it :)

Screen shot attached below as to how it looks
-----------------

Thanks bro msalman

mizamlar 10-12-2008 10:28 AM

ooo good very nice
thank you,

Allah razı olsun

Megatr0n 10-14-2008 12:44 AM

I hope it is released soon bro.

msalman 10-14-2008 02:05 PM

Quote:

Originally Posted by Britmovie (Post 1643130)
Cant think of anything more usless than the quran on a website.

I wouldn't be surprised if you're one of the Islamic haters.

Quote:

Originally Posted by Megatr0n (Post 1644541)
I hope it is released soon bro.

try the attached file in this post bro. If you're going to update from 1.05 to 1.25 then follow the steps in the readme.txt file and then run this file using your browser and it will replace the utf-8 Arabic text with windows-1256.

elrafei 10-14-2008 03:44 PM

barark allah feka ya akhy

that mean

thanks brother

tafreeh 10-15-2008 05:37 AM

Mashallah bro v good hack...

but after installation where do you see that Quran Page ?
www.tafreehmela.com/quran.php not working.....

msalman 10-15-2008 01:13 PM

^hmm..after the second look this seems a database issue, could be a server problem. Can you please run this SQL Query in your ACP (Admin Control Panel) and let me know the result
Code:

SELECT count(*) as total_ayaat from xquran
here x = your TABLE_PREFIX

tafreeh 10-15-2008 04:43 PM

and how do you do that

admin cp > maintenance > Execute Sql Query (( it says "You are not authorized to execute SQL queries" )) :erm::erm:


All times are GMT. The time now is 11:11 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02159 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete