Oops, sorry brain not working. I saw this post:
https://vborg.vbsupport.ru/showpost....6&postcount=63 and without reading thought it created that link. Actually reading it I see its anither mod. Sorry, works outstanding then, thank you. |
Is there a way to do a custom page from the vB CMS? Thanks
|
Quote:
|
Quote:
|
Can anybody help me with getting this to work on my new page please ?
<?php /* Copyright 2004 Greg Williams and Serena Swan, All Rights Reserved. This file is part of BowlingDB. BowlingDB is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. BowlingDB is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with BowlingDB; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ require("bowlingfuncs.inc.php"); printDoctype(); ?> <head> <title>Bowling Database</title> <link href="bowling.css" rel="stylesheet" type="text/css" /> </head> <body> <?php $homedir=""; include("menuheader.php"); ?> <?php include("pagebottom.php"); ?> </body> </html> I get this error Parse error: syntax error, unexpected '<' in /home/tenpinfo/public_html/BowlingDB/index.php on line 43 |
I'm having a little trouble. I got the page to work, but now I want it to show something if a user is logged in, and something else if a guest views the page. How could I do this?
|
Quote:
HTML Code:
<vb:if condition="$show['member']"> |
Thank you! I had been trying all sorts of conditions but I just kept screwing them up. I would have been up all night trying to figure this out, I had at least 20 tabs open on the subject.
|
hey there. how could i make it so that only certain groups can view the page? thanks!
|
Just add something after you include the global.php file:
Code:
if (!is_member_of($vbulletin->userinfo, x, y, z)) |
All times are GMT. The time now is 01:29 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|