Main PunBB files edited on 24th, 25th.
header.php
register.php
functions.php
main.tpl
Also ran one install_mod.php for "Captcha Box"
You are not logged in. Please login or register.
PunBB Forums → Posts by liquidat0r
Main PunBB files edited on 24th, 25th.
header.php
register.php
functions.php
main.tpl
Also ran one install_mod.php for "Captcha Box"
Is this possible? Because I cant get it to work.
http://www.kntl.co.uk/include/user/navigation_js.phps
Lines 63 & 77.
---
This file is included in my tpl files: <pun_include "navigation_js.php">. It generates a DHTML drop down menu, which you can see on the homepage.
I now have a newly downloaded register.php with no edits. I have uploaded it. As you can see, there is still the same error.
I have not made any changes to functions.php, at least, not for a while.
What does this mean? And how do I fix it?
Fatal error: Cannot redeclare check_cookie() (previously declared in /home/kntlco/public_html/include/functions.php:28) in /home/kntlco/public_html/include/functions.php on line 97
Hooray! Problem solved. I missed out a "," lol
---
Thanks!
OK, so one minute my site was working, next second it doesn't.
I was editing register.php. I then uploaded an install_mod.php, for this mod. I tried to open it and i just get a white screen, and the rest of the pages on my site also just show a white page.
I have resorted all the files to how they were when the site was working and have deleted all the files I uploaded, (the contents of that mod).
Has anyone seen anything like this before? Does anyone know how to fix it?
chmod the folder to "666" or "755"
You mean 777
(Look for something to do with chmod or 'file attributes'.)
Same problem caused by Zone Alarm ("ZA"). Changed ZA's privacy settings specifically for just the site with the forum, so all protection is still in place for everything else.
Under ZA's Privacy section, Site List tab, you can allow Private Header information in the cookie transmission (see last column).
You may need to upgrade ZA to the newest version.
RICK
THANKS!
Within any form there should be a link saying "Post Topic". In the same place as "Post Reply" in this topic.
(Up and to the right of your post)
mateo wrote:hey! thx, i did it. The thing now is, i'm not very expert with CSS. How can I center it? I know there's a trick to work in both IE and FIREFOX.
where did you find it ? i wanna do the same thing as you
Look for something like this:
/* 5.1 Page margins */
HTML, BODY {MARGIN: 0; PADDING: 0}
#punwrap {width: 95%; margin: 12px auto}
In punroot/style/style.css
Just copy login.php out of the punbb root folder and into it's parent folder. (assuming this is what you want to do).
Having copied login.php from, say, 'www.site.com/forums/' to 'www.site.com' open the new login.php and change line 29:
define('PUN_ROOT', './');
to:
define('PUN_ROOT', './forums/');
*Where "/forums/" is the folder where punbb is installed.
---
You could also use this mod: http://www.punres.org/desc.php?pid=206 and put it on a page outside of punbb.
hehe
Welcome to the world of forums.
@ twohawks
That is quite possibly the longest post i have ever seen, (apart from guides). Good job!
Just want to comment for anyone else reading this, that the solution above only removes the link, it does not stop guests etc accessing the page directly.
Indeed. I also added
if ($pun_user['g_id'] > PUN_MOD) {
message("You do not have access to this page");
}
To each of the pages that i wanted to remove access to.
Thanks Mediator for help in IRC.
Simple really:
Comment out line: 245 in functions.php
And add:
$links[] = '<li id="navuserlist"><a href="userlist.php">'.$lang_common['User list'].'</a>';
after line 272 and before 278
Thanks. Guess I should have searched.
However, i was looking for a more general solution...
The same way as one would restrict access to a page
i.e.
'Administration' can only be seen by admins/mods. How could i make, say, 'User List' only visible to admins/mods?
Thanks
Yay, fixed.
See code for index, profile and functions.php here: http://www.kntl.co.uk/files/forumphps/
If anyone thinks that they can help and needs to see more code, just say so.
Looks like you made some bad edits, you'll need to undo whatever changes you made
If only i knew where we went wrong...
http://www.kntl.co.uk/forum/profile.php?id=3
Try clicking on 'Personal' 'Messaging' 'Personality' etc
I get this error:
Not Found
The requested URL /NEW FILES/profile.php was not found on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
-----
Apache/1.3.37 Server at www.kntl.co.uk Port 80
---
Also, when clicking "Newest registered user:" on the forum index i get:
Not Found
The requested URL /Easy POll 2.0/Easy_Poll_+_2.0/profile.php was not found on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
-----
Apache/1.3.37 Server at www.kntl.co.uk Port 80
All/Any help much appreciated.
*liquidat0r takes credit for the banner*
PS, @ Zimmer, 'Statcounter: Came From' is how i found this page
PunBB Forums → Posts by liquidat0r
Powered by PunBB, supported by Informer Technologies, Inc.