• [MOD] PHPBB3 Integration v0.9 helium 4 0 5 1
Currently:  

Author Topic: [MOD] PHPBB3 Integration v0.9 helium  (Read 129694 times)

0 Members and 1 Guest are viewing this topic.

Offline helium

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • Live Anime
Re: [MOD] PHPBB3 Integration v0.9 helium
« Reply #15 on: September 18, 2008, 04:47:52 AM »
Just noticed it says that your error is in the forums directory

Fatal error: Call to undefined function: stripos() in ..../forums/includes/sessions.php on line 1357

You shouldn't have changed anything in your forums folder, all modifications should be done in the gallery.

Offline helium

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • Live Anime
Re: [MOD] PHPBB3 Integration v0.9 helium
« Reply #16 on: September 18, 2008, 04:56:48 AM »
Also, this has to be done on a fresh install, well it cannot contain anything from my previous mod or it will not work.

Tried different characters in the chat below all seems to work japanese characters as well
http://liveanime.org/gallery/img-ponyo-on-the-cliff-by-the-sea-0014-51296.htm

Offline matteo260

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: [MOD] PHPBB3 Integration v0.9 helium
« Reply #17 on: September 18, 2008, 07:44:46 PM »
Hi helium,

thank you for the answer.

No I did not change anything in the forum itself.
As I changed a fiew things twice I forgot to change "forums" to the reel path my forum is in.

Your snippet regarding the "snipos" problem workes fine now .

I solved the problem regarding the "umlaut-Problem" by converting the main.php of the language to utf-8.

In your integration mode I discovered an error in your top.php

In the 4th "replace" it should read (in red) instead of i.image_hits:

$sql = "SELECT i.image_id, i.user_id, i.cat_id, i.image_name, i.image_downloads, c.cat_name, u.username_clean AS user_name
        FROM (".IMAGES_TABLE." i, ".CATEGORIES_TABLE." c)
        LEFT JOIN ".PHPBB_USERS_TABLE." u ON (u.user_id = i.user_id)
        WHERE i.image_active = 1 AND i.cat_id NOT IN ($cat_id_sql) AND i.cat_id = c.cat_id
        $cat_match_sql
        ORDER BY i.image_hits DESC, i.image_name ASC
        LIMIT 10";

Otherwise you get an error.


Offline helium

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • Live Anime
Re: [MOD] PHPBB3 Integration v0.9 helium
« Reply #18 on: September 18, 2008, 07:47:02 PM »
lol cool, glad its all worked out, haha, and i didnt change that bit of code, so probably not an error but you can change it if you like. :P

Offline matteo260

  • Pre-Newbie
  • Posts: 6
    • View Profile
Re: [MOD] PHPBB3 Integration v0.9 helium
« Reply #19 on: September 18, 2008, 07:48:48 PM »
Thanks again it was a pleasure. :!:

Offline dover

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: [MOD] PHPBB3 Integration v0.9 helium
« Reply #20 on: October 08, 2008, 11:57:43 PM »
thanks heaps for doing this integration helium. One problem though, everyone can login no problems, except for admin. Is there something else I have to do with user permissions?

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.808
  • I ♥ 4I
    • View Profile
Re: [MOD] PHPBB3 Integration v0.9 helium
« Reply #21 on: October 14, 2008, 09:24:53 AM »
Welche soll man nehmen?
* phpbb_functions.zip (5.33 KB - runtergeladen 48 Mal.)
* phpbb_functions.zip (5.33 KB - runtergeladen 36 Mal.)

Offline justchaos

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [MOD] PHPBB3 Integration v0.9 helium
« Reply #22 on: October 17, 2008, 10:54:30 AM »
@Phisker B: Sind beide identisch, also nimm was dir besser gefällt. :)

@helium: Is this mod supposed to work with phpBB 3.0.2? I've tested it with 3.0.0 and it worked perfectly, now that I've tired to integrate with 3.0.2 I'm getting these errors:
Code: [Select]
[17-Oct-2008 10:06:19] PHP Notice:  Undefined index:  user_type in .../board/gallery/includes/sessions.php on line 559
[17-Oct-2008 10:06:19] PHP Fatal error:  SQL ERROR [ mysql4 ]<br /><br />Unknown column 'ban_exclude' in 'field list' [1054]<br /><br />An sql error occurred while fetching this page. Please contact an administrator if this problem persists. in .../board/includes/db/dbal.php on line 602

I suppose it's not a fault in the phpBB database management but rather in the integration with 4images. Any ideas?

Offline helium

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • Live Anime
Re: [MOD] PHPBB3 Integration v0.9 helium
« Reply #23 on: October 19, 2008, 01:00:27 AM »
@dover: Im not sure what you mean. Are you on about loggin into the admin on the gallery?

@phisker b: (dont know german) im guessing you said why are there two. Either is fine you just need one, was a mistake when i posted it.

@justchaos: It may be becuase your on mysql version 4. Dont have time to have a look this weekend. Perhaps you could post me what your lin 559 is on sessions.php. Also mine is running fine on 3.0.2 but im on mysql v5 and php 5 is harder for me to test with older versions. :) could you tell me what version of mysql and php your on?

Offline mogzy

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: [MOD] PHPBB3 Integration v0.9 helium
« Reply #24 on: October 19, 2008, 03:44:11 PM »
Hi helium!

Just installed this mod on a fresh install, and it works fine.

However, ive noticed if you login from the gallery side of things - it loggs in correctly but - sends you to the forum index, instead of back to the gallery index.

Is there anything that can be done about this?

For me its not a big issue, but knowing how daft alot of my members are, they will start searching the forum for the gallery pictures assuming the page they have been sent to after logging in is the gallery - if u know what i mean lol!

Offline justchaos

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [MOD] PHPBB3 Integration v0.9 helium
« Reply #25 on: October 19, 2008, 07:22:12 PM »
Strange things happening here.

I've installed this mod on two subdomains of my main domain. When I run it on one of them, everything is just fine, running it on the other causes the error. I've even gone as far as copying the working installation on the other subdomain, still the same. It works on 3.0.0 on one subdomain but refuses to do so on 3.0.2 on the other. WTF?! :D

Line 559 in my sessions.php is
Code: [Select]
if ($this->data['user_type'] != USER_FOUNDER)
I'm using PHP 5.2.6 and MySQL 4.1.22, though I doubt it's a MySQL problem.

Offline olgaart

  • Newbie
  • *
  • Posts: 45
    • View Profile
    • FotoClub
Re: [MOD] PHPBB3 Integration v0.9 helium
« Reply #26 on: October 27, 2008, 10:00:58 AM »
Hallo Helium! Thanks for your mod!
Is it possible to change it somehow, when gast opens the fotogalery, not the "you are logged as anonimous" but the login form is shown? Many thanks!

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.808
  • I ♥ 4I
    • View Profile
Re: [MOD] PHPBB3 Integration v0.9 helium
« Reply #27 on: October 27, 2008, 02:47:35 PM »
Hello,

I once wanted to say thank you. Integration is a great das.
However, I get an error:

Quote
Warning: require(C:/xampp/htdocs/forums/config.php) [function.require]: failed to open stream: No such file or directory in C:\xampp\htdocs\2\includes\sessions.php on line 19

Fatal error: require() [function.require]: Failed opening required 'C:/xampp/htdocs/forum/config.php' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\2\includes\sessions.php on line 19

That is my folder structure:

- (GALLERY) http://localhost/2/
- (FORUM) http://localhost/2/forum/


I have put the phpbb_function.php in my http://localhost/2/includes/ folder


I work on my local computer in the moment. But the structure of the folder changes to my online server does not!

I am grateful for more help!

   
My Session.php you'll find in attachment if you need this for troubleshooting!

Edit:

Kann mir da keiner helfeN?
----
Because nobody can help me?

Edit 2:


Even on my online server does not do it! There is always a folder.

The folder structure on my server on-line here is this:

- (GALLERY) http://mydomain.de/service/
- (FORUM) http://mydomain.de/service/forum/

Here comes this error:

Quote
Warning: require(/var/www/html/web574/html/forum/config.php) [function.require]: failed to open stream: No such file or directory in /var/www/html/web574/html/service/includes/sessions.php on line 19

Fatal error: require() [function.require]: Failed opening required '/var/www/html/web574/html/forum/config.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/web574/html/service/includes/sessions.php on line 19

Edit:
I can not help with this problem?
I've now changed these lines:
--
Kann mir keiner bei dem Problem helfen?
Ich habe nun diese Zeilen geändert:


define
('PHPBB_DIRECTORY''http://'.$_SERVER['SERVER_NAME'].'/forum/');
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH $_SERVER['DOCUMENT_ROOT'].'/2/forum/';
$phpEx 'php';
require(
$phpbb_root_path 'config.' $phpEx);
require(
$_SERVER['DOCUMENT_ROOT'].'/2/includes/phpbb_functions.php');
require(
$phpbb_root_path 'includes/acm/acm_file.' $phpEx);
require(
$phpbb_root_path 'includes/cache.' $phpEx);


Now at least opens the gallery again, but there are now these errors to occur!
--
Nun öffnet sich die gallery wieder, aber es sind nun neue Fehler da:

Quote
Notice: Undefined index: ip_check_bot in C:\xampp\htdocs\2\includes\sessions.php on line 1484

Notice: Undefined variable: newstype in C:\xampp\htdocs\2\index.php on line 183

Notice: Undefined variable: additional_sql_2 in C:\xampp\htdocs\2\index.php on line 200

Notice: Undefined variable: newstype in C:\xampp\htdocs\2\index.php on line 225
« Last Edit: October 30, 2008, 03:10:32 PM by Phisker B »

Offline helium

  • Newbie
  • *
  • Posts: 19
    • View Profile
    • Live Anime
Re: [MOD] PHPBB3 Integration v0.9 helium
« Reply #28 on: October 30, 2008, 06:16:11 PM »
What have you changed in your gallery's index.php mine only has 181 lines... what mods have you installed?

Quote
Warning: require(C:/xampp/htdocs/forums/config.php) [function.require]: failed to open stream: No such file or directory in C:\xampp\htdocs\2\includes\sessions.php on line 19

There the error is obvious C:/xampp/htdocs/forums/config.php <--- that should be C:/xampp/htdocs/2/forums/config.php an error in defineing phpbb path

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.808
  • I ♥ 4I
    • View Profile
Re: [MOD] PHPBB3 Integration v0.9 helium
« Reply #29 on: November 01, 2008, 12:01:13 AM »
Please show in your Private-Message!!