Oh, sorry, I didn't read Bekko's link right
http://dev.punbb.org/svn/ works as the repo where http://punbb.org/svn/ did before
You are not logged in. Please login or register.
PunBB Forums → Posts by Smartys
Oh, sorry, I didn't read Bekko's link right
http://dev.punbb.org/svn/ works as the repo where http://punbb.org/svn/ did before
You could have installed it there in the first place
Anyways, what I would do is change the base URL to reflect the new address and then copy over the files to the new folder.
It would actually have to redirect to viewtopic.php?id=y&p=z#x
We're currently transitioning a few things, so punbb.org will not work with SVN as it did earlier: as Bekko pointed out, using dev.punbb.org works right now (it's what I'm using)
Moved to Modifications
You just send the hashed password in a different variable, it's a fairly common technique that I've seen used in several apps
Well, the function could be passed the form variable to hash
The easiest way would just be to add an onsubmit function that takes the value from password, hashes it, sticks it in hashed_password, and removes password.
That way, if hashed_password is set, we look there for a hash. If not, we look at password for the password. If there's Javascript, we have a hash, and if not there's no hash
Not this idea specifically though. It is worth thinking about (and it should be easy to make it work for browsers with Javascript and without).
Are your files chmodded such that someone else could edit them?
Moved to PunBB Discussion
http://punbb.org/forums/viewtopic.php?pid=20733#p20733
In 1.3 the box should be checked for you
No, since we don't have access to their ruleset or know what rule is being triggered. Could you ask them to check their logs and see what mod_security rule is triggering your errors?
Or, to hide it for guests:
Find
<?php echo $subscraction ?>
and replace with
<div id="social-toolbar">
<ul class="tools">
<?php echo $subscraction ?>
<?php
if (!$pun_user['is_guest'])
{
?>
<li class="rss"><a href="rss.php?tid=<?php echo $id ?>"">RSS Feed for this Topic</a></li>
<li class="digg"><a href="http://digg.com/submit?phase=2&url=<?php echo $pun_config['o_base_url'] ?>/viewtopic.php?pid=<?php echo $cur_post['id'].'#p'.$cur_post['id'] ?>&title=<?php echo pun_htmlspecialchars($cur_topic['subject']) ?>">Digg This</a></li>
<li class="delicious"><a rel="nofollow" href="http://del.icio.us/" onclick="window.open('http://del.icio.us/post?v=2&url='+encodeURIComponent(location.href)+'¬es=&tags=&title='+encodeURIComponent(document.title));return false;" onmouseover="schnapp('Delicious','','<?php echo PUN_ROOT; ?>',1)" onmouseout="schnipp()">Del.icio.us</a></li>
<li class="magnolia"><a rel="nofollow" href="http://ma.gnolia.com/" onclick="window.open('http://ma.gnolia.com/bookmarklet/add?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title)+'&description=&tags=');return false;" onmouseover="schnapp('MaGnolia','','<?php echo PUN_ROOT; ?>',1)" onmouseout="schnipp()">Ma.gnolia</a></li>
<li class="stumble last"><a rel="nofollow" href="http://www.stumbleupon.com/" onclick="window.open('http://www.stumbleupon.com/submit?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title));return false;" onmouseover="schnapp('StumbleUpon','','<?php echo PUN_ROOT; ?>',1)" onmouseout="schnipp()">StumbleUpon</a></li>
<?php
}
?>
</ul>
</div>
I edited the wiki link so that it should work
The PunRes forums work fine for me
Look at the documentation for fopen, fread, and fclose. fread returns a string which is the contents of the response.
Moved to Bug Reports
I think this may be an actual bug
RSS feeds use a variable called $url_action, which is initialized like this:
$url_action = ($_GET['action'] == 'active') ? '&action=new' : '';
HTML output from extern.php doesn't do this: it always appends action=new
While the PunBB homepage is right to output action=new (active topics refers to topics that have been recently posted to), extern.php's output is not always what it should be.
You would need to fetch the file using file_get_contents, fopen, fsockopen, curl, etc: those are all options
There should be no trailing slash
Why not just copy/paste from the textfile?
$db (the database object)
$pun_user (contains key/value pairs for all columns in users, all columns in groups, and two columns from the online table (logged and idle). and is_guest, which is true/false depending upon if the user is a guest
all variables in config.php
$pun_config (contains key/value pairs for all the conf_name/conf_value pairings in the config table)
$lang_common (see lang/English/common.php for the key/value pairs for the English language: keys should remain the same no matter the language)
$pun_bans (contains information on all bans, numerically indexed)
That should cover it
Your server isn't sending the emails out properly
Moved to Modifications
Follow the readme?
649 lines in header.php?
Sounds like the issue was with your modifications, not with PunBB or PHP 5. You'll need to paste your code.
Easy BBCode modification
You could use my Adsense after First Post mod and modify the output to suit your liking
PunBB Forums → Posts by Smartys
Powered by PunBB, supported by Informer Technologies, Inc.