Author Topic: [MOD] Last topics from phpBB2 and phpBB3 forum to index page (JavaScript)  (Read 12989 times)

0 Members and 1 Guest are viewing this topic.

Offline Joss

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • All about digital photography
Update:
phpbb3 JavaScript solution is here: http://www.4homepages.de/forum/index.php?topic=16972.msg142471#msg142471
phpbb3 PHP solution is here: http://www.4homepages.de/forum/index.php?topic=26170.0



The MOD allows you showing public topics of your phpBB board on your gallery. Author of the MOD is Xpert from http://phpbbguru.net/ .

1. Download, install and configure this MOD (required time is 3-5 minutes)
http://phpbbguru.net/files/mods/recent_topics_1.0.4.zip

2. In home.html of your gallery template folder insert somewere the following line:
Code: [Select]
<script language='JavaScript' type='text/javascript' src='http://your_forum_address/recent.php'></script>
Note: You should change a your_forum_address to your phpBB forum address.

E.g., like this:

Code: [Select]
<table width="100%" border="0" cellspacing="1" cellpadding="1">
   <tr>
       <td align="left" height="20" width="100%">&nbsp;Last forum topics</td>
   </tr>
   <tr>
       <td>
       <script language='JavaScript' type='text/javascript' src='http://forum.imagemaster.ru/recent.php'></script>
       </td>
   <tr>
   <tr>
       <td align="right" height="20" width="100%"> <img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" /><a href="http://forum.imagemaster.ru" target="blank">All forum topics</a>&nbsp;&nbsp;</td>
   </tr>
</table>


The demo is here (near the middle of the page):
http://gallery.imagemaster.ru/


EDIT: .zip attached
« Last Edit: October 26, 2009, 11:12:22 PM by Joss »
Digital Photo Gallery: http://gallery.imagemaster.ru

Offline olgaart

  • Newbie
  • *
  • Posts: 45
    • View Profile
    • FotoClub
Re: [MOD] Last topics from phpBB forum to index page
« Reply #1 on: January 20, 2009, 07:55:24 PM »
is it possible to update it for phpbb 3.0.2 ( it does not have templates/subSilver/recent_body.tpl)?

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [MOD] Last topics from phpBB forum to index page
« Reply #2 on: January 20, 2009, 08:25:15 PM »
if your board have RSS, why dont try it with "magpierss" to include it into your gallery.. i did it for vBulletin. see my rightblock.
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline olgaart

  • Newbie
  • *
  • Posts: 45
    • View Profile
    • FotoClub
Re: [MOD] Last topics from phpBB forum to index page
« Reply #3 on: January 20, 2009, 08:35:39 PM »
Hallo Nicky,
thanks for the reply. There should be a mod in the forum to enable RSS, I can try it. It was just so easy in this topic, but it does not work with my vesion of phpbb.  :cry:

Offline Joss

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • All about digital photography
Re: [MOD] Last topics from phpBB forum to index page
« Reply #4 on: October 26, 2009, 04:59:13 PM »
is it possible to update it for phpbb 3.0.2 ( it does not have templates/subSilver/recent_body.tpl)?

There is a mod for phpbb3.
« Last Edit: October 26, 2009, 05:20:14 PM by Joss »
Digital Photo Gallery: http://gallery.imagemaster.ru