![]() |
|
Article Options |
#1111
|
|||
|
|||
I might have figured it out. Under the Admin CP -> Settings -> Site Name / URL / Contact Details
I had the following: URL of your forum: http://mySite.ca Always use Forum URL as Base Path: No Chaging the Always use Forum URL as Base Path to Yes seemed to do the trick. Does that seem right? No members have liked this post.
|
#1112
|
|||
|
|||
thanks
i will tray it No members have liked this post.
|
#1113
|
||||
|
||||
So I'm having a bit of trouble finding this anywhere.
Is there a way to make it so that my custom page is only view-able by a specific usergroup? No members have liked this post.
|
#1114
|
|||
|
|||
Originally Posted by kerrghann
If you're not that familiar with PHP, just add an if-condition to your template.![]()
http://www.vbulletin.org/forum/showthread.php?t=231525
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com Contact me for custom vBulletin 3/4 work & server/website management. |
#1115
|
||||
|
||||
Originally Posted by Dave
I'm alright with PHP, the vBulletin syntax was kicking my butt though. This list is great, much appreciated, solved all my issues.
![]()
The following members like this post: MarkFL
|
#1116
|
||||
|
||||
Is there a way to write an HTML table onto this page?
I have tried using this format:
But it's not working ![]() Any suggestions on how to insert an HTML table onto this blank php page? Thanks! No members have liked this post.
|
#1117
|
||||
|
||||
Originally Posted by MacroPhotoPro
Put the HTML into the template, not the php. Or, assign the HTML code to a variable, register it for use in the main template, and then put the variable in the template (see the example for $pagetitle in the first post).
![]()
__________________
Former vBulletin.org Staff Member
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before. W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
#1118
|
|||
|
|||
I've got it working now, Lynne, thank you.
Just want to say that this thread is a GREAT resource! Much appreciated ... once again ![]() Jack No members have liked this post.
|
#1119
|
|||
|
|||
Thanks Lynne!
From your awesome guide, I could create my first vBulletin page It is a page to list top web hosting companies and it worked as what I expected. I am thinking I will add some new features as rating, comment box...for it to make it better. Regards, No members have liked this post.
Last edited by Paul M; 18 Jun 2017 at 15:37. |
#1120
|
||||
|
||||
Hi
![]() How can I add PHP code in this page? Thank you ![]() ------------------- for example i want to put this code in a new page:
No members have liked this post.
Last edited by john7911; 07 Jul 2017 at 19:50. |
#1121
|
||||
|
||||
CSS problem with custom page outside of forum dir (after switching to https)
Hi all -
I've been using multiple custom vB pages for years and years without any problem. However, after moving the forum to a new machine and implementing https (maybe just a coincidence), just one of the pages broke, and I can't figure it out. The page in question is outside of the forum directory (index.php in the site's root dir), and it previously worked fine with the chdir path specified in the PHP. However, CSS is no longer rendering. Strangely, when looking at the page source, the "base path" is missing from the header. Thus no CSS. The code is there in the headinclude template, but for some reason, vB is stripping it out for this page:
Why would vB delete that line? I'm stumped. EDIT: I have updated the site URL with "https" in the ACP. No members have liked this post.
Last edited by vbem2; 28 Jun 2018 at 21:59. |
![]() |
«
Previous Article
|
Next Article
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Article Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 01:03.