Recent Topics, Posts and Global Announcments 1.1.1

Recent topics, announcement display, RSS / ATOM Feed Syndication MOD Downloads
- Content delivery outside of viewtopic/viewforum.

How do you like that mod?

I Love It! (5 stars)
14
56%
I Really Like It! (4 stars)
5
20%
I Like It (3 stars)
5
20%
I Don't Like It (2 stars)
0
No votes
I Hate It (1 star)
1
4%
 
Total votes : 25

Re: Recent Topics, Posts and Global Announcments 1.0

Postby Rafterman » 16 Dec 2006, 08:40

[quote="LEW21":63a4b]
Is this external webpage using some phpBB3 classes or is it completely external?
[/quote:63a4b]

completely external at the moment
User avatar
Rafterman
Cadet IV
Cadet IV
 
Posts: 42
Joined: 12 Sep 2006, 12:04
Gender: Male




phpBB Academy at StarTrekGuide
Support STG
Using PayPal Donate

Re: Recent Topics, Posts and Global Announcments 1.0

Postby Highway of Life » 16 Dec 2006, 11:12

Is it in the same website as your phpBB3 directory resides?

You would be able to integrate the phpBB3 classes with relative ease. Let me know, and I'll post a How-to.
Watch out! I might do a code wheelie!

User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 10458
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Gender: Male
phpBB Knowledge: 10

Re: Recent Topics, Posts and Global Announcments 1.0

Postby Handyman » 16 Dec 2006, 12:24

All you would have to do is include the regular php stuff like this
Code: Select all
define('IN_PHPBB', true);
$phpbb_root_path = './';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include(
$phpbb_root_path . 'common.' . $phpEx);

// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();

except you would have to change the $phpbb_root_path to be the path to the forum and it would work.
There may be a couple other things that you would need in there... but that is it for the most part.
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7454
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male

Re: Recent Topics, Posts and Global Announcments 1.0

Postby Rafterman » 16 Dec 2006, 19:37

mmmmh, my Board is at forum.nrg3.de and lies in a subdomain directory on my server
my webpage at nrg3.de, so i wont can use the ./ command
User avatar
Rafterman
Cadet IV
Cadet IV
 
Posts: 42
Joined: 12 Sep 2006, 12:04
Gender: Male

Re: Recent Topics, Posts and Global Announcments 1.0

Postby shoes22 » 16 Dec 2006, 20:16

Lew, is it possible to take out the automatic auth feature in your mod?
The reasoning here is hypothetically if you're a guest browsing my forum, and you can see the topic title but can't read it...it would be more of an incentive to register.
shoes22    
Beta Tester
Beta Tester
 
Posts: 164
Joined: 02 Aug 2006, 03:27
Gender: Male

Re: Recent Topics, Posts and Global Announcments 1.0

Postby LEW21 » 17 Dec 2006, 06:02

Replace all 'f_read' with 'f_list'.
phpBB3.PL - User-friendly Polish phpBB 3.0 support
LEW21    
Translator
Translator
 
Posts: 901
Joined: 01 Jun 2006, 03:51
Location: Warsaw, Poland
Gender: Male
phpBB Knowledge: 10

Re: Recent Topics, Posts and Global Announcments 1.0

Postby Handyman » 17 Dec 2006, 08:50

[quote="Rafterman"]
mmmmh, my Board is at forum.nrg3.de and lies in a subdomain directory on my server
my webpage at nrg3.de, so i wont can use the ./ command
[/quote]
Normally on a host site, it would be in a directory kinda like this

public_html
.......|
.......|??????forum
.......|??????other_Directory
.......|??????subdomain_directory
.............................|
.............................|??????forum

That's usually how it's laid out, so it would probably be
Code: Select all
$phpbb_root_path = './../subdomain_directory/forum/';
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7454
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male

Re: Recent Topics, Posts and Global Announcments 1.0

Postby Rafterman » 17 Dec 2006, 09:26

/
..|...
..|bin
..|httpdocs/index.html <--- here is my webpage (www.nrg3.de)
..|httpsdocs/
..|...
..|subdomains/forum/
......................|cgi-bin/
......................|conf/
......................|httpdocs/index.php <-- here is my forum (forum.nrg3.de)
......................|httpsdocs/

in this way the structure of my webspace is looking
User avatar
Rafterman
Cadet IV
Cadet IV
 
Posts: 42
Joined: 12 Sep 2006, 12:04
Gender: Male

Re: Recent Topics, Posts and Global Announcments 1.0

Postby Handyman » 17 Dec 2006, 09:30

if you have ftp access to your entire account, you should be able to see where it is exactly, but with that structure, it would be
Code: Select all
$phpbb_root_path = './../forum/httpdocs/';
Please contact me if you have any news to submit to SCOFF News.
SCOFFing at the candidates while you sleep.
My Mods || My Mod Queue
Image
User avatar
Handyman    
Rear Fleet Admiral
Rear Fleet Admiral
 
Posts: 7454
Joined: 08 May 2006, 04:45
Location: Where no man has gone before!
Favorite Team: Seattle Seahawks
Gender: Male

Re: Recent Topics, Posts and Global Announcments 1.0

Postby LEW21 » 17 Dec 2006, 11:51

It will be
Code: Select all
$phpbb_root_path = './../subdomains/forum/httpdocs/';
, not
Code: Select all
$phpbb_root_path = './../forum/httpdocs/';
phpBB3.PL - User-friendly Polish phpBB 3.0 support
LEW21    
Translator
Translator
 
Posts: 901
Joined: 01 Jun 2006, 03:51
Location: Warsaw, Poland
Gender: Male
phpBB Knowledge: 10

PreviousNext

Return to Recent Topics, RSS / ATOM Syndication MODs

Who is online

Users browsing this forum: No registered users and 1 guest