Page 2 of 2 FirstFirst 12
Results 11 to 19 of 19

Thread: phpBB Integration

  1. #11
    mwep
    Guest

    Default

    We are running Dolphin 5.6.004 and PHPBB 2.0.22

    We cant seem to get the code to work. We are using the code from the last post, and we can see the avatar pic for the admin but see nothing (not even broken image) for member users who have profile pic.

    Please help.

    Thanks!!!

    Ashley

  2. #12

    Join Date
    Oct 2006
    Posts
    42

    Default

    Version 5.4 and above have changed the image directories... change the two "../id_img/" to the correct directory under media I believe...? I am not able to check the exact path at the moment
    Mike

    http://www.kickasslove.com

    Using Dolphin 5.3/5.4/5.5

  3. #13
    mwep
    Guest

    Default

    Thanks for responding Chameleon!!!

    I made the changes you suggested to point to the correct image directory "/media/images/profile/" however; it still does not work.

    Before I made the change, I would have assumed IE would show a broken image icon, however; it does not look like its getting written to the html.

    The avatar for the admin is showing but there is nothing for users.

    Any other suggestions you might be able to offer ?

    Thanks!!
    Ashley

  4. #14
    jarnolde's Avatar
    Join Date
    Jun 2006
    Posts
    162

    Default

    I never did get phpBB to work right.

    The logins didn't work about half the time, you had to retype everything to login about half the time. That was frustrating. I actually got Orca to work the way it's supposed to.

    One thing about that fix, make sure things are working. Test your members menu in particular. Boonex doesn't know their own software, I think it might cause issues with your member page.

    John
    Retired for the time being.....

  5. #15
    mwep
    Guest

    Default

    Can you suggest a forum solution that would be better ?

    Currently, our site is running Joomla, but we are changing the site format. We are a local nightclub which as a website to compliment our club. Anyways, we have about 9000 active members and before we release this beast to the public, we are trying to get it right.

    Tried Ocra, but never could get it to work. Futhermore; we could not see how it was even moderated. Perhaps we are wrong, typically I am, but we just had a lot of problems.

    We have not seen any implementation of vbb in which people got dolphin avatar/profile to display. Again, perhaps I am wrong, typically I am , but I could not seem to find it.

    I know that Smodge has a very nice Forum, however; I can not justify spending that kind of money on a new site. Maybe once we get this one going, sure; but at present our budget is limited at best.

    Any assistance would be "greatly" appreciated!!!

    Ashley

  6. #16
    jarnolde's Avatar
    Join Date
    Jun 2006
    Posts
    162

    Default

    You are probably on the right track with phpBB. I do like it's options a lot. Being free is a good start.

    vBulletin is the Cadilac of Bulletin Boards. Most will tell you to use this, as it's rock solid. I didn't install it on my site, as I don't have a license. I know some of the others here have, anyone else have luck with Avatars?

    I believe a lot has to do with what you are planning, an you seem to have a specific plan in mind. Most people want the integration with their site, and login, then look at the rest.

    I am still in search of a solution. But, I got Orca working and integrated with my site, which was my main concern. Even if I remove it tomorrow, I did get it working! With Dolphin, this is an acheivment, I feel.

    John
    Retired for the time being.....

  7. #17
    burnt
    Guest

    Default

    here is the text that i used to get this to work with 5.4 and phbb .. it worked like a charm! (note that i originally missed the closing / at the end of the second path...


    PHP Code:
    //begin
    $profile_id $db->sql_fetchfield('ID'); 
    $picAddon $db->sql_fetchfield('Pic_0_addon'); 
         
    if ((
    file_exists('../media/images/profile/'$profile_id '_0_'$picAddon '.jpg')) || (!$poster == "admin")) { 
        
    $poster_avatar '<a href="../profile.php?ID='  $profile_id '">'  '<img src="../media/images/profile/' $profile_id  '_0_'$picAddon '.jpg' '" alt="online dating service" border="0" /></a>'
    } elseif (
    $poster == "admin") { 
        
    $poster_avatar '<img src="../images/your_avatar.gif' '" alt="online dating service" border="0" />'
    } else { 
        
    $poster_avatar ''


    //end 

  8. #18
    mwep
    Guest

    Default

    Burnt:

    Thank you very much for responding!

    I tried the code you included in your post, however; on the viewtopic.php I am not getting the following errors:

    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/nmii/public_html/forum/db/mysql4.php on line 214

    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/nmii/public_html/forum/db/mysql4.php on line 214

    The admin pic is displaying but I am receiving the same errors above displaying on the posts by admin.

    Any suggestions would be greatly appreciated!!!

  9. #19
    fatum
    Guest

    Default

    Ok try this, it worked for me...

    The location of profile photos are different in 5.6. But the main difference is database structure.
    What i did was, to query users primary photo from "profiles" table using his/her nick, than use that pic id to get the name of the image from "media" table...

    The code also allows you to use a avatar for admin.
    If there is no primary photo for the user, the avatar would be female.jpg or male.jpg [attached] depending on users sex...

    Hope that helps.. A bit drunk rightnow...

    Code:
    $profileQuery = $db->sql_query("SELECT `ID`,`PrimPhoto`,`Picture`,`Sex` FROM `Profiles` WHERE `NickName` = '$poster'");
    $profile_id = $db->sql_fetchfield('ID');
    $mainpic = $db->sql_fetchfield('PrimPhoto');
    $sexx = $db->sql_fetchfield('Sex');
    $gotpic = $db->sql_fetchfield('Picture');
    $picquery = $db->sql_query("SELECT `med_file` FROM `media` WHERE `med_id` = '$mainpic'");
    $picAddon = $db->sql_fetchfield('med_file');
    
    if ($gotpic == 1) {    
        $poster_avatar = '<a href="../profile.php?ID='  . $profile_id . '">'  . '<img src="http://www.yourdomain.com/media/images/profile/'. $profile_id . '/thumb_'. $picAddon .'" alt="'. $poster . '" border="0" /></a>';
    } elseif ($poster == "admin") {
        $poster_avatar = '<img src="http://www.yourdomain.com/forum/admin.gif" alt="Admin" border="0" />';
    } else { 
        $poster_avatar = '<a href="../profile.php?ID='  . $profile_id . '">'  . '<img src="http://www.yourdomain.com/forum/'. $sexx . '.jpg" alt="'. $poster . '" border="0" /></a>';
    }
    Attached Images Attached Images

Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. phpbb or vb integration
    By annd in forum Dolphin General Discussion v6.00 and above
    Replies: 8
    Last Post: 09-14-2008, 09:33 PM
  2. True phpBB integration
    By roy361 in forum BBS / Forum Applications (non-Orca)
    Replies: 0
    Last Post: 12-02-2007, 09:22 AM
  3. PHPBB Dolphin 6.0.3 Integration Question
    By bzzrd2 in forum Orca Interactive Forum Script
    Replies: 0
    Last Post: 11-30-2007, 04:38 PM
  4. Bizarre Phpbb integration bug.....
    By sillywabbit in forum BBS / Forum Applications (non-Orca)
    Replies: 2
    Last Post: 04-05-2007, 04:51 PM
  5. phpbb integration
    By Grif in forum Dolphin General Discussion v5.0 to v5.21
    Replies: 5
    Last Post: 07-24-2006, 09:03 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •