You are not logged in. Please login or register.
Active topics Unanswered topics
Search options (Page 257 of 307)
Topics by Smartys User defined search
Posts found: 6,401 to 6,425 of 7,674
I dont want to send the users id to my logout file, "?action=out&id=5576", when loging out and it dosn't seems to be necessary if I remove the code above.
Removing the is_guest thing will mess with things ![wink](https://punbb.informer.com/forums/img/smilies/wink.png)
And as for removing the checks on $_GET['id'], you can, but I can then post an image to login.php?action=logout and everyone would be logged out when they visited the thread ![tongue](https://punbb.informer.com/forums/img/smilies/tongue.png)
Then host your own forums ![wink](https://punbb.informer.com/forums/img/smilies/wink.png)
Using MyPunBB is a tradeoff: you don't have to worry about webspace, etc but you lose the ability to add your own mods ![wink](https://punbb.informer.com/forums/img/smilies/wink.png)
Smartys wrote:How is that at all related to this topic?
And anyway, you're using MyPunBB: that means you can't have subforums, since Connor hasn't installed the mod.
Plus, next time, ask for MyPunBB support in the MyPunBB forums: http://www.mypunbb.com/forum.php
How is that at all related to this topic?
And anyway, you're using MyPunBB: that means you can't have subforums, since Connor hasn't installed the mod.
Plus, next time, ask for MyPunBB support in the MyPunBB forums: http://www.mypunbb.com/forum.php
af3: if you're using set_default_user then you can use useragent as well ![wink](https://punbb.informer.com/forums/img/smilies/wink.png)
There probably would be some changes, but that's why there's an update script ![wink](https://punbb.informer.com/forums/img/smilies/wink.png)
That crashed Firefox 1.0.7 when I tried it (well, froze it)
And crashed IE
Yup, my mistake ![tongue](https://punbb.informer.com/forums/img/smilies/tongue.png)
Edited ![wink](https://punbb.informer.com/forums/img/smilies/wink.png)
Sounds like you messed up when modding it
Just upload a clean copy
lol, yeah ![tongue](https://punbb.informer.com/forums/img/smilies/tongue.png)
You're mixing up the syntax for update and insert ![wink](https://punbb.informer.com/forums/img/smilies/wink.png)
The code should look like:
mysql_query("INSERT INTO $commenttable (name, comment, time, email, ip) values ('$name', '$comment', '$time', '$email', '$ip')") or die(mysql_error());
I registered the info
test/test
No, since it's a problem with your CSS settings (as Paul said). The settings aren't the same as on a default board, so it's not a bug ![wink](https://punbb.informer.com/forums/img/smilies/wink.png)
http://punbb.org/downloads.php
See the links that say "Patch" and "Hdiff"?
It had to do with you being in the online list twice
<div class="block">
<h2 class="block2"><span>Recent</span></h2>
<div class="box">
<div class="inbox">
<?php include('http://www.kunstpodium.com/forums/extern.php?action=new'); ?>
</div>
</div>
</div>
That's what I see when I view source. In other words, your PHP tag is being parsed as HTML
bkhl wrote:I looked at the "Mark topics as read" mod, but that isn't fully satisfactory either, since it throws away read/unread status when users log out.
As does every single other forum system I know of that uses the time you last viewed the forum to determine new post status.
Unless you want to work with HUGE arrays, you can't store new post data for every thread in an array. Not only would it take up a lot of space, it would take forever to search through as well.
However, to get what you want, all you have to do is tell the mod never to remove the data and the forum never to set last_visited
As much as I hate doing work for people when it's something so simple...
<?php
$page = isset($_GET['page']) ? $_GET['page'] : false;
$act = isset($_GET['act']) ? $_GET['act'] : false;
if (file_exists('pages/'.$act.'/'.$page.'.php'))
{
include 'pages/'.$act.'/'.$page.'.php';
}
else if (file_exists("pages/".$act."/index.php"))
{
include("pages/".$act."/index.php");
}
else if (!$act && !$page)
{
include("pages/news/index.php");
}
else
{
include("pages/news/index.php");
}
?>
I should note that this code is hideously insecure and if you use it and someone realizes, you will be hacked
And if you're wondering about making it more secure, google "Directory traversals"
Shine wrote:Nobody has an answer to my first question? :
How to realise to show the last 10-15 posts within a sidebar block within the forum itself. Actually the same as seen on http://punbb.org/ , but now within the forumsidebar itself. ??
The extern.php include code doesn't work within the forum itself and allow_url_fopen is enabled.
Any suggestions?
Grtz., Shine
It does work though
The fact that it doesn't work for you doesn't make it any less correct ![wink](https://punbb.informer.com/forums/img/smilies/wink.png)
extern.php is what Rickard uses for the homepage.
Now then, can I have the REAL URL to extern.php and the real URL to the page you're calling it from?
And php short tags are allowed by your hosting company, aren't they?
bkhl wrote:So that's how 1.3 will work? That's nice to hear.
Rickard hasn't decided I don't think
And I doubt he'd use a database based option, since it adds an extra query per page (although he might, it's up to him). But IMO a cookie based option (like phpBB) is more likely
Ludo wrote:without mod, only moderators and admin can have access to a category that public visitors can't have access to.
Ludo,
No
And yes, PunBB does allow for groups like that
You would create a group, then edit the forum and assign that group permission to read (and that regular members/guests can't) and then change the user group for people you want to see the forum to the new group
Posts found: 6,401 to 6,425 of 7,674