Search found 370 matches

by agent00shoe
Thu Dec 01, 2005 10:51 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: Oh no not another Sessions question
Replies: 12
Views: 879

Ahhh...... in page_header.php there lies the following code..... $u_login_logout = 'login.'.$phpEx.'?logout=true&sid=' . $userdata['session_id']; AND 'U_LOGIN_LOGOUT' => append_sid($u_login_logout), So does this mean that the session id is there twice when cookies are off? Nope, append_sid() is onl...
by agent00shoe
Thu Dec 01, 2005 8:12 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: Oh no not another Sessions question
Replies: 12
Views: 879

Session IDs are only attached to links when cookies are disabled.
by agent00shoe
Thu Dec 01, 2005 4:45 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: Login Integration Tutorial
Replies: 17
Views: 2948

Thank you very much, that worked great. Now I have another question, I want to make a log out button that shows up instead of the form if the user is logged in. I have everything set up so it shows the button but when the button is clicked it just goes to a page that shows an invalid session. I gue...
by agent00shoe
Thu Dec 01, 2005 3:47 am
Forum: [2.0.x] MOD Writers Discussion
Topic: Login Integration Tutorial
Replies: 17
Views: 2948

Try posting to login.php instead by changing action="logintest.php" to action="login.php" If you want to be redirected to a certain page after logging in, you can use a hidden field in the login form like this <input type="hidden" name="redirect" value="viewforum.php?f=111&start=0" /> This hidden fi...
by agent00shoe
Tue Nov 29, 2005 6:40 pm
Forum: [2.0.x] MODs in Development
Topic: [BETA] MOD Admin_restrict_IP
Replies: 1
Views: 418

Good idea. If I didn't have a dynamic IP, I'd use this.
by agent00shoe
Fri Oct 21, 2005 8:29 pm
Forum: [2.0.x] MODs in Development
Topic: Photo Album v2
Replies: 222
Views: 61383

Does this have some type of configurable quota or limit on how many pictures members can upload?
by agent00shoe
Thu Oct 13, 2005 7:08 pm
Forum: [2.0.x] MOD Requests
Topic: Fast Reply Mod
Replies: 2
Views: 145

There are several here to choose from, but they're called quick reply.
http://www.phpbb.com/phpBB/catdb.php?cat=51



:D
by agent00shoe
Wed Oct 12, 2005 7:20 pm
Forum: [2.0.x] MODs in Development
Topic: please help
Replies: 4
Views: 393

That's an SQL query. You can run it in the SQL query window section of phpMyAdmin if you have it. im inside phpmyadmin, and php_config and i dont know to get it done.. can you tell me what to do in there.. Click "SQL" at the top of the page, copy and paste the query you asked about in your first po...
by agent00shoe
Wed Oct 12, 2005 6:07 pm
Forum: [2.0.x] MODs in Development
Topic: please help
Replies: 4
Views: 393

Re: please help

bedethuong22 wrote: does anyone know how this work and how to get it done?
INSERT INTO phpbb_config (config_name, config_value) VALUES ('bbcode_html_group', '-1');



:(

That's an SQL query. You can run it in the SQL query window section of phpMyAdmin if you have it.
by agent00shoe
Tue Oct 11, 2005 4:42 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: Grabbing info off of other sites.
Replies: 3
Views: 743

Hope this helps. It's gutted from something else I'm working on. <?php #page you want to open $server = "http://www.phpbb.com/"; function openSite($website){ $readSite = ""; ini_set('user_agent','Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)'); if($openSite = fopen ($website,"r")){ while(!feof(...
by agent00shoe
Sat Oct 01, 2005 9:55 pm
Forum: [2.0.x] MOD Requests
Topic: SCRIPT FOR PHP NEEDED, please help....
Replies: 1
Views: 127

This article shows you how to use phpbb's session management for your own pages. It's very easy if you go step by step.
by agent00shoe
Tue Sep 27, 2005 9:19 pm
Forum: [2.0.x] MOD Requests
Topic: Need To Add Log In Link
Replies: 4
Views: 607

Sorry, I left out a single quote

Code: Select all

$lang['Username_taken'] = 'Sorry, but this username has already been taken. If this is your username then you need to <a href="' .append_sid('login.php'). '">log in.</a>';
by agent00shoe
Tue Sep 27, 2005 9:00 pm
Forum: [2.0.x] MOD Requests
Topic: Need To Add Log In Link
Replies: 4
Views: 607

If I remember right

Code: Select all

$lang['Username_taken'] = 'Sorry, but this username has already been taken. If this is your username then you need to <a href=" .append_sid('login.php'). '">log in.</a>';
by agent00shoe
Mon Sep 26, 2005 3:06 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: How Do You Find The Highest Value In MySQL Database?
Replies: 7
Views: 811

Montana wrote: i dont know if this is what you mean or if this work for you..

Code: Select all

$sql = "SELECT *
	FROM " . TABLE . "
	ORDER BY ROW DESC LIMIT 1";

you can change DESC with ASC


Edited to add LIMIT 1. That would just give you the highest 1 without listing all rows in descending order.
by agent00shoe
Sun Sep 25, 2005 11:48 pm
Forum: [2.0.x] MOD Writers Discussion
Topic: referer
Replies: 4
Views: 575

Do you mean a query like "DELETE * FROM phpbb_referer"? That would clear the whole table.

Go to advanced search