Search found 23 matches

by Drazek
Mon Oct 05, 2015 9:48 pm
Forum: Extension Writers Discussion
Topic: Can't get Pagination working on external site with 3.1 (works in 3.0)
Replies: 9
Views: 551

Re: Can't get Pagination working on external site with 3.1 (works in 3.0)

Pagination in 3.1 only generates templates block and no html output anymore. You have to copy the function in your php script and change it so it will generate html output again. Don't know why they changed this. John P gets it! I have to copy the whole function into my php script? DAYM! okay, wher...
by Drazek
Mon Oct 05, 2015 7:58 pm
Forum: Extension Writers Discussion
Topic: Can't get Pagination working on external site with 3.1 (works in 3.0)
Replies: 9
Views: 551

Re: Can't get Pagination working on external site with 3.1 (works in 3.0)

Right.... hold on a bit because this code is a little long winded. this is the full code for my newspost + pagination script: <?php $limit = 4; #SPECIFY THE AMOUNT OF ARTICLES YOU WANT TO APPEAR ON THE PAGE. $offset = ceil(abs(request_var('start', 0))); #rounds up the start number to the nearest int...
by Drazek
Mon Oct 05, 2015 1:10 pm
Forum: Extension Writers Discussion
Topic: Can't get Pagination working on external site with 3.1 (works in 3.0)
Replies: 9
Views: 551

Re: Can't get Pagination working on external site with 3.1 (works in 3.0)

Maybe is better to post both the full OLD and NEW scripts. edit: using something like pastebin maybe? or github. Hello, well the scripts aren't long, here they are: OLD SCRIPT $pagination = generate_pagination('index.php', $total_forum_items, $limit, $offset, true); NEW SCRIPT phpbb_generate_templa...
by Drazek
Sun Oct 04, 2015 7:23 pm
Forum: Extension Writers Discussion
Topic: Can't get Pagination working on external site with 3.1 (works in 3.0)
Replies: 9
Views: 551

Can't get Pagination working on external site with 3.1 (works in 3.0)

Hi guys, I'm stumped at the moment and need some help. my previous Pagination script, which worked perfectly fine.. was this: if(isset($total_forum_items)){ $pagination = generate_pagination('index.php', $total_forum_items, $limit, $offset, true); }else{ echo '<h4>OOPS! you have offset more topics t...
by Drazek
Tue Aug 11, 2015 3:03 pm
Forum: Extension Writers Discussion
Topic: Can't get Pagination working on external site with 3.1 (works in 3.0)
Replies: 0
Views: 239

Can't get Pagination working on external site with 3.1 (works in 3.0)

Hi guys, i'm stumped at the moment and need some help. my previous Pagination script, which worked perfectly fine.. was this: if(isset($total_forum_items)){ $pagination = generate_pagination('index.php', $total_forum_items, $limit, $offset, true); }else{ echo '<h4>OOPS! you have offset more topics t...
by Drazek
Wed Feb 25, 2015 9:15 am
Forum: [3.1.x] Support Forum
Topic: If your browser does not support meta redirection...
Replies: 10
Views: 456

Re: If your browser does not support meta redirection...

This is hosted on a Windows Dedicated Server, running Plesk for Windows as the webhost. The server is rather fast, so I wouldn't think it was a server speed issue? Support Request Template What version of phpBB are you using? phpBB 3.1.3 What is your board's URL? http://www.udf2gaming.com/dev Who do...
by Drazek
Mon Feb 16, 2015 11:06 am
Forum: [3.1.x] Support Forum
Topic: If your browser does not support meta redirection...
Replies: 10
Views: 456

If your browser does not support meta redirection...

Hi, I'm having a problem similar to this post: https://www.phpbb.com/community/viewtopic.php?f=46&t=2150255 But my problem is with PHPBB 3.1 not 3.0, and hence, I haven't been able to figure out a solution because the function.php files are different. Basically, every time I make a post on my bo...
by Drazek
Wed Aug 29, 2012 9:32 am
Forum: [3.0.x] MOD Writers Discussion
Topic: $db->sql_query causing php error 500?
Replies: 5
Views: 534

Re: $db->sql_query causing php error 500?

UGH! I'm an idiot! Thanks for the hint canonknipser, I added the echo code as you suggested and still ran into errors.. so I had a quick look at my form code and noticed this: <input name="user_id" value="<?php $user->data['user_id']; ?>" type="hidden"> like a dummy, I ...
by Drazek
Wed Aug 29, 2012 8:47 am
Forum: [3.0.x] MOD Writers Discussion
Topic: $db->sql_query causing php error 500?
Replies: 5
Views: 534

Re: $db->sql_query causing php error 500?

In case it helps, here is the layout of my DB table: Name: gw2_characters Column: char_id (mediumint(8), auto increment) Column: user_id (mediumint(8)) Column: char_name (varchar(50), utf8_bin) Column: char_avatar (varchar(255), utf8_bin) Column: char_gender (varchar(10), utf8_bin) Column: char_race...
by Drazek
Wed Aug 29, 2012 8:16 am
Forum: [3.0.x] MOD Writers Discussion
Topic: $db->sql_query causing php error 500?
Replies: 5
Views: 534

Re: $db->sql_query causing php error 500?

Hello, Thanks for the reply but I'm still having trouble getting past the 500 internet server error :/ I have tried using your suggestion of removing the backticks, no go. I have also tried removing all of the data fields and leaving just 1 there to see if that would work: if (isset($_POST['create_c...
by Drazek
Sat Aug 25, 2012 1:43 am
Forum: [3.0.x] MOD Writers Discussion
Topic: $db->sql_query causing php error 500?
Replies: 5
Views: 534

$db->sql_query causing php error 500?

I can't figure out where I'm going wrong with this query, every time I run it i get a php 500 error! This is my code, it pulls data from a form, when you hit submit the form sets 'create_character' and triggers the insert query.. and then gives me a php 500 error! if (isset($_POST['create_character'...
by Drazek
Thu Jun 05, 2008 10:55 am
Forum: [3.0.x] Support Forum
Topic: Permissions: - "Yes Always" - wanted.
Replies: 2
Views: 119

Permissions: - "Yes Always" - wanted.

Hello, i'm trying to set up a bit of a special permissions role for my forum. basically, i want a new option called "Yes Always", which will overwrite the "No Always" option. reason why is because: i want to set 'registered users group' as "yes" to the forum viewable ro...
by Drazek
Fri Feb 29, 2008 5:27 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Help me fix/update PHPBB3 News Script
Replies: 11
Views: 3275

Re: Help me fix/update PHPBB3 News Script

Much like you I had the same problem. Instead of trying to get it to work with phpBB 3.0 I'm now using http://www.phpbb.com/community/viewtopic.php?f=71&t=587812 After some CSS, and actual code tweaking I am mostly satisfied. if you want I can post my modifications to the code, which results in...
by Drazek
Fri Feb 29, 2008 11:20 am
Forum: [3.0.x] Abandoned Styles
Topic: [ABD] ProBlack : For Phpbb 3.0.x
Replies: 63
Views: 17175

Re: [Release] ProBlack : For Phpbb 3.0.0

I wasn't happy that this theme was still a bit buggy and didn't perfectly match the original prosilver theme that comes with phpbb 3.0.0 final. so i 'fixed' it. - the problack theme on my forum now perfectly matches the prosilver final theme, text font, placement, sizes, etc. - but keeping the colou...
by Drazek
Fri Feb 29, 2008 11:09 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Help me fix/update PHPBB3 News Script
Replies: 11
Views: 3275

Re: Help me fix/update PHPBB3 News Script

i've still not had any luck with this so far ;(( *sob*

but on a bright note i have fixed Zhadun's Release of ProBlack 3.0.0 it now more closely resembles prosilver for phpbb3.0.0 but keeping the whole problack style and colors. - effectively making it a problack version 1.3.

Go to advanced search