Log in

View Full Version : HTML Only - Can it be done?


GDA
09-01-2008, 08:02 PM
Hi,

I have seen about how to make a custom VB page but I am trying to do the following:

1) Using my homepage (index.php), I would like to be able to display the latest members, latest threads & latest posts using ONLY HTML as my sidebar can only accept this.

Can this be done?

If it can be, could someone show me how as I've been searching for weeks but still no solution!

Thank-You

Dismounted
09-02-2008, 09:59 AM
You will still have to use PHP to get your data before it's displayed. You can find the code to do that in vBulletin's index.php.

Lynne
09-02-2008, 02:28 PM
See this page - HowTo Display Latest Active Threads on ANY normal HTML page (http://www.vbulletin.com/forum/showthread.php?t=158895) As for getting the other variables, I don't know how you can. (Also, if you are using index.php as the page, why no php?)

GDA
09-02-2008, 09:59 PM
Hi,

Thanks for both of your replies - I asked as I am trying to get it into a sidebar on the right hand side of the page but I can only find a bar which accepts HTML and not PHP etc.

Thats why I am not sure how to intergrate the HTML into the sidebar without entering the php - does the above link enable me to do this?
Thanks

Lynne
09-02-2008, 10:07 PM
Are you talking about the link I posted? Did you read it? It's all about using javascript and html to post the latest threads, no php.

Dismounted
09-03-2008, 06:29 AM
Hi,

Thanks for both of your replies - I asked as I am trying to get it into a sidebar on the right hand side of the page but I can only find a bar which accepts HTML and not PHP etc.

Thats why I am not sure how to intergrate the HTML into the sidebar without entering the php - does the above link enable me to do this?
Thanks
HTML & PHP are nearly two different things. PHP is a server-side language. HTML is client-side. You can use PHP to create your HTML.