Search found 69 matches

by cheechm
Fri Jun 06, 2008 9:44 pm
Forum: 2.0.x Support Forum
Topic: Template Conditionals
Replies: 1
Views: 322

Template Conditionals

Searched and didn't find.

Are there template conditionals like in phpBB3 or do you have to use php?

Thanks
by cheechm
Sat May 17, 2008 10:30 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Session Not Setting Up
Replies: 1
Views: 184

Session Not Setting Up

Why isn't my session setting up? define('IN_PHPBB', true); $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : 'forum/'; $phpEx = substr(strrchr(__file__, '.'), 1); include ($phpbb_root_path . 'common.' . $phpEx); // Start session management $user->session_begin(); $auth->acl($user->...
by cheechm
Sat May 10, 2008 12:44 am
Forum: [3.0.x] MOD Writers Discussion
Topic: For Statment
Replies: 4
Views: 209

For Statment

How do I display this in a template@ $sql = 'SELECT * FROM site_menu ORDER BY `order` ASC'; $result = $db->sql_query($sql); $num = mysql_num_rows($result); for ($n = 1; $n<$num; $n++) { $iorder = '<select name="order">'; $iorder .= '<option value="'. $n .'">'. $n .'</option></select>'; $template->as...
by cheechm
Thu May 01, 2008 10:54 pm
Forum: [3.0.x] MOD Requests
Topic: Automatically create template
Replies: 9
Views: 422

Re: Automatically create template

BUMP.
by cheechm
Tue Apr 22, 2008 7:49 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: POST to Language
Replies: 10
Views: 350

Re: POST to Language

Fixed.

Needed to be:

Code: Select all

		<input type="hidden" name="language_file" id="language_file" value="mods|{language.FILE}.php" />
by cheechm
Tue Apr 22, 2008 3:49 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: POST to Language
Replies: 10
Views: 350

Re: POST to Language

Bump..
by cheechm
Mon Apr 21, 2008 8:36 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: POST to Language
Replies: 10
Views: 350

Re: POST to Language

I am editing my module files: Now have this: functions file: <?php /** * * @package acp * @author Nick Rhodes * @copyright 2008 * */ /** * @package acp */ class acp_sitelanguage { var $u_action; function main() { global $db, $user, $auth, $template; global $config, $phpbb_root_path, $phpbb_admin_pat...
by cheechm
Mon Apr 21, 2008 4:16 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: POST to Language
Replies: 10
Views: 350

Re: POST to Language

Any help here?
by cheechm
Mon Apr 21, 2008 7:41 am
Forum: [3.0.x] MOD Writers Discussion
Topic: POST to Language
Replies: 10
Views: 350

Re: POST to Language

Bump? Am I "POSTing" the wrong thing?
by cheechm
Sun Apr 20, 2008 9:51 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: POST to Language
Replies: 10
Views: 350

Re: POST to Language

I've appended the sid, and added

Code: Select all

		{S_FORM_KEY}
	{S_FORM_TOKEN}
at the end of my form as well as

Code: Select all

		$form_name = 'acp_sitelanguage';
		add_form_key($form_name);
in the function file.

I get

Selected language file is invalid.
by cheechm
Sun Apr 20, 2008 9:25 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: POST to Language
Replies: 10
Views: 350

Re: POST to Language

How do I include the sid in the link?
Do I need to use the append_sid() function in the .php file?
by cheechm
Sat Apr 19, 2008 11:38 am
Forum: [3.0.x] MOD Writers Discussion
Topic: BBCode Parsing for Non-In-phpBB3 outputs.
Replies: 2
Views: 258

Re: BBCode Parsing for Non-In-phpBB3 outputs.

<div class="cstyle"> <?php // Conectando a la Base de Datos $mode = ('remote'); include ('modules/mysql_connect.php'); // Configuracion de Salida $target_forum = ('78'); //Foro Destino del Script $results_count = ('5'); //Maximo de Resultados de la Base de Datos $p_truncate_limit = ('1024'); //Limi...
by cheechm
Sat Apr 19, 2008 11:13 am
Forum: [3.0.x] MOD Writers Discussion
Topic: POST to Language
Replies: 10
Views: 350

Re: POST to Language

?
Thanks
by cheechm
Fri Apr 18, 2008 11:45 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Module Tutorial
Replies: 1
Views: 174

Re: Module Tutorial

Post some code...
by cheechm
Fri Apr 18, 2008 9:11 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: POST to Language
Replies: 10
Views: 350

POST to Language

I am trying to make all customised language files accessible from an easy page. What is going wrong with the code? Do I need to include directories or something? <!-- BEGIN language --> <!-- IF language.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> <td style="t...

Go to advanced search