vBulletin Modifications

a small help in codeing

Welcome to vBHackers.com! - vBHackers Updates:

Go Back   vBulletin Modifications > General vBulletin Section > General vBulletin Support

Reply
 
LinkBack Thread Tools
Old 03-24-2006, 05:45 PM   #1
Coder
barakat's Avatar
Join Date: Oct 2004
Real Name: Barakat
Location: Jerusalem
barakat is on a distinguished road

Default a small help in codeing

hi !

i have a little problem in reading and viewing some html from my database which i make it .... acually iam trying to make some differnt hack which can read templates from the database instead to include it to the style templates

the idea comes to me when i was trying to add some html templates to the style and i saw that its from the stupedity to add a houndred templates to a styles so it will make the forum very heavy . any way here is the idea ....

i create that

You must first be a registered member to view any code.
and add for every id and content a unique number with a full html template.

i have more than 100 id for that .
so i make a php file with a name of test.php and include that code inside it :

You must first be a registered member to view any code.
www.forum/test.php?id=1
while browseing the file , a blank page appears to me !!!1

so ...........

if i include 'test_h' template to the style it will open it nicely but i need to read from my database by its id so to browse is as its browsed from the style it self:-

now if i want to read the templates from my styles i just make that changes

// pre-cache templates used by all actions

You must first be a registered member to view any code.
and add that code instead of the main script corner

You must first be a registered member to view any code.

and off couse the test_h template is included and it tooks a style like that :-



You must first be a registered member to view any code.

Last edited by barakat; 03-24-2006 at 05:57 PM.




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
small hack install problem RiGiD vBulletin Modification Requests 2 06-01-2005 08:05 AM


All times are GMT -3. The time now is 02:17 PM.


SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc. (Patent Pending)