You are not logged in. Please login or register.
Active topics Unanswered topics
Search options (Page 30 of 49)
Grant wrote:When you click on a tag the search still seems backwards to me, but perhaps that is the way it's supposed to be?
Fixed.
SuperMAG wrote:so when u search a keyword. the same result it gives. SO???????
Searching by tag will be implemented later, not in this release.
//Added link to changeset
The new version of pun_tags is almost done, can you help us to test it out?
The new version of pun_tags is almost done, but before releasing it we would like to hear your opinions and suggestions about it. You can get the current revision of the extension from SVN.
Changes from the previous release:
The tag cloud is displayed at the bottom of pages now
A tag is shown in the cloud only if the user has the permission to read the forum with a tagged topic.
In the tag cloud, the count of tags is displayed based on user's reading permissions for the forum.
The process of editing tags of topics has been corrected (this issue was described in a post by Grant).
Maybe this extension will be useful for you?
What notice are you talking about?
No, you can't because the DB-schema of 1.2 differs from the DB-schema of 1.3. It will be better to upgrade your PunBB 1.2 to 1.3. This article will help you.
Post you questions here, and we will help you
Describe your problem in more detail, please. What authorization do you want to add? Forum authorization? Or authorization at your site?
Why do you think there is problem with new links? Maybe search engines don't crawl you forum again with new SEF links?
One of solutions is as follows. When an authorized user visits some forum pages, you can automaticly "register" the user in the forum by adding a new user in the user table. In this case you need to synchronize changes in the user profile at your site with punbb user profile.
If you need some detailed information about the authorization process or something else, you can ask here.
I myself use Adobe Dreamweaver CS3. But hardly long enough to say that it is the best one
You need to generate a csrf token in your contact form to skip its validation. Add this to your form:
<input type="hidden" name="csrf_token" value="<?php echo generate_form_token('http://www.website.com/index.php?section=contact'); ?>" />
Does it work?
sha1- function, description from manual:
sha1 — Calculate the sha1 hash of a string
About "." you can read here
I have tested it in Google Chrome 1.0, works fine for me.
I think it would be better for you to change the code of function "cookie_login" in "<FORUM_ROOT>/include/functions.php". This function is used for checking if a user was authorized or not on every page of the forum. You can replace the forum's mechanism of authorizing with yours, which you used at your site. And if the user was authorized at your site it will be authorized at the forum.
It is work fine for me in Firefox 3.0, Google Chrome 1.0, Opera 9.63, IE 7. What version of pun_quote have you got installed?
We are working on the new version of pun_tags, and users permissions will be taken into account in the next release.
Yes, you need to modify the code of extern.php. The feature you've described can be implemented as an extension. Add an extension request, please.
sIpIt_nya wrote:and my error problem with the redirect url still can work it out
In forum's core, redirect URL stored in $_POST['redirect_url'] in the hidden forum value.
Could you, please, describe the details of your integration? What mechanism of authorization have you used at your site? Cookie? Sessions?
I think you can examine this example, which is needed to get active topics, and the code of the file "include/search_functions.php" (lines 470-485), where you can find the query for getting recent topics.
//Added link to wiki
Mods and styles for PunBB 1.2 do not work with PunBB 1.3. You can use pun_antispam extension for spam protection.
If you have some problem with csrf token, the forum generates a special form for its (csrf token's) confirmation
N3twork2 wrote:the redirection URL is bad ...
What do you mean by "bad" redirection URL?
The redirection URL in your code is "http://www.website.com/forums/login.html". After user's authorization, the forum will redirect again to "/forums/login.html", and, as user was authorized, the forum will redirect him to "/forums/index.php".
You should save the file in the UTF-8 encoding without BOM.
It is
sha1($salt.sha1($password));
$salt - stored in DB for each user, generated on registration (table "users", field "salt"), $password - user's password.
sIpIt_nya wrote:i try it on 1.3 version, it works but it have an error in the redirecting page..here is the image..
This error appears because you need to define the redirect url in authorization form (it is hidden value). After authorization,
the forum will redirect the user to this URL.
sIpIt_nya wrote:just wander how to get rid of that error...
and my second problem is..i just lost in the encryption for the password value..
i usually just use the md5 function, but in punbb when i look at the source code..
it has many function with sha1, random_key, etc.....
just very confuse with it, i am still a newbie php programmer so i am still learning..
hope can find solution here...
To get the correct hash of a password, you need to call the function "forum_hash" with two arguments: 1) Your password; 2) Salt which you can get from the table "users", field "salt" of your user record.
Posts found: 726 to 750 of 1,202