Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.220
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ?This sh...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriousl...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Phpbb3 posts as phpnuke news
Phpbb3 posts as phpnuke news
Goto page 1, 2, 3, 4, 5  Next

52 Replies / 7423 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » Hacks n Mods

View previous topic :: View next topic


RainKing
Reputation: 7 Add RepSubtract Rep
Local time: 6:57 AM


Rocket Noob
Rocket Noob

0.02 posts per day
Medals: 0

Joined: Feb 12, 2008
Last Visit: 01 Sep 2008
Posts: 27
Points: 100 

Post Phpbb3 posts as phpnuke news Posted: Wed Jun 18, 2008 9:59 am

Hiya,

I couldn't find anything on this, so here goes my question.

I'd like to have a block/hack that allows me to have phpbb3 posts as news on the phpnuke homepage. That is, instead of using the phpnuke news module, I'd write a news piece in a "news" forum in phpbb3 and that would appear on the phpnuke homepage.

Now, I've managed to include a block on the homepage that shows the last five posts (thread title, views, poster, etc) from the phpbb3, so I reckon it should be possible to do what I want to.

The idea, I think, is that the new block would just read from the "news" forum, so every time I posted there, the latest post would become the latest news on the homepage.

You know what I mean? Confused

Is there anything like that available?

Thanks a lot.
 

 
View user's profileSend private message Reply with quote

Untergang
Reputation: 642.6 Add RepSubtract Rep
votes: 6
Local time: 6:57 AM
Location: Lommel
belgium.gif

Stand-by Stand-by
Stand-by Stand-by

0.20 posts per day
Medals: 0

Joined: May 08, 2007
Last Visit: 31 Oct 2011
Posts: 347
Points: 22131 

Post Re: Phpbb3 posts as phpnuke news Posted: Wed Jun 18, 2008 11:23 am

You have a different table in your database for posts and topics.
And in the topics table there is topic_first_post_id,
that way you can select the first post of the latest topics.

So it's possible, but I don't think there's a block for it yet.
 

UDesigns.be  
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

RainKing
Reputation: 7 Add RepSubtract Rep
Local time: 6:57 AM


Rocket Noob
Rocket Noob

0.02 posts per day
Medals: 0

Joined: Feb 12, 2008
Last Visit: 01 Sep 2008
Posts: 27
Points: 100 

Post Phpbb3 posts as phpnuke news Posted: Wed Jun 18, 2008 12:24 pm

Hmm, no, in my phpbb3 DB I don't have that table. Retard
 

 
View user's profileSend private message Reply with quote


Untergang
Reputation: 642.6 Add RepSubtract Rep
votes: 6
Local time: 6:57 AM
Location: Lommel
belgium.gif

Stand-by Stand-by
Stand-by Stand-by

0.20 posts per day
Medals: 0

Joined: May 08, 2007
Last Visit: 31 Oct 2011
Posts: 347
Points: 22131 

Post Re: Phpbb3 posts as phpnuke news Posted: Wed Jun 18, 2008 12:25 pm

In phpbb2 the table is called nuke_bbtopics
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

RainKing
Reputation: 7 Add RepSubtract Rep
Local time: 6:57 AM


Rocket Noob
Rocket Noob

0.02 posts per day
Medals: 0

Joined: Feb 12, 2008
Last Visit: 01 Sep 2008
Posts: 27
Points: 100 

Post Phpbb3 posts as phpnuke news Posted: Sat Jun 21, 2008 8:13 am

Thanks, but no luck. I don't have the knowledge to do it. Dont Know
 

 
View user's profileSend private message Reply with quote

Untergang
Reputation: 642.6 Add RepSubtract Rep
votes: 6
Local time: 6:57 AM
Location: Lommel
belgium.gif

Stand-by Stand-by
Stand-by Stand-by

0.20 posts per day
Medals: 0

Joined: May 08, 2007
Last Visit: 31 Oct 2011
Posts: 347
Points: 22131 

Post Re: Phpbb3 posts as phpnuke news Posted: Sat Jun 21, 2008 10:04 am

So what you want is that only the latest news posts shows?
If yes I can make a block for you, it very simple and not a lot of work.
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote


RainKing
Reputation: 7 Add RepSubtract Rep
Local time: 6:57 AM


Rocket Noob
Rocket Noob

0.02 posts per day
Medals: 0

Joined: Feb 12, 2008
Last Visit: 01 Sep 2008
Posts: 27
Points: 100 

Post Phpbb3 posts as phpnuke news Posted: Sat Jun 21, 2008 11:25 am

Well, you know Phpbb3portal, for example?

http://www.phpbb3portal.com/

See, the latest news block is just posts from a forum. You specify the forum ID in the admin, and everything you post there becomes a news item on the frontpage.

I'd like a block that reads from the phpbb3 forum I choose and post the news on the phpnuke frontpage, showing the title (headline) and the text.

It would replace the phpnuke news block
 

 
View user's profileSend private message Reply with quote

Untergang
Reputation: 642.6 Add RepSubtract Rep
votes: 6
Local time: 6:57 AM
Location: Lommel
belgium.gif

Stand-by Stand-by
Stand-by Stand-by

0.20 posts per day
Medals: 0

Joined: May 08, 2007
Last Visit: 31 Oct 2011
Posts: 347
Points: 22131 

Post Re: Phpbb3 posts as phpnuke news Posted: Sat Jun 21, 2008 11:34 am

So only one?
And can you work with the database a little?
Because I'll need the forum_id of the news forum.
Can you also give me a link to your website?
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

RainKing
Reputation: 7 Add RepSubtract Rep
Local time: 6:57 AM


Rocket Noob
Rocket Noob

0.02 posts per day
Medals: 0

Joined: Feb 12, 2008
Last Visit: 01 Sep 2008
Posts: 27
Points: 100 

Post Phpbb3 posts as phpnuke news Posted: Sat Jun 21, 2008 12:26 pm

Yeah, only one is fine. Although it would be cool if I could have the first one with text and five below that are only "headlines".

I can work with the db, yeah.

And the site is ps3racing.net

It's in Spanish though. Angel
 

 
View user's profileSend private message Reply with quote


Untergang
Reputation: 642.6 Add RepSubtract Rep
votes: 6
Local time: 6:57 AM
Location: Lommel
belgium.gif

Stand-by Stand-by
Stand-by Stand-by

0.20 posts per day
Medals: 0

Joined: May 08, 2007
Last Visit: 31 Oct 2011
Posts: 347
Points: 22131 

Post Re: Phpbb3 posts as phpnuke news Posted: Sat Jun 21, 2008 1:24 pm

GT5 :D Me Like :P Too bad I can't read Spanish :D
But I can make that block for you :D
Can you give me the forum_id of the News forum?
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

RainKing
Reputation: 7 Add RepSubtract Rep
Local time: 6:57 AM


Rocket Noob
Rocket Noob

0.02 posts per day
Medals: 0

Joined: Feb 12, 2008
Last Visit: 01 Sep 2008
Posts: 27
Points: 100 

Post Phpbb3 posts as phpnuke news Posted: Sat Jun 21, 2008 1:54 pm

That would rule, thanks a lot. Love

Forum ID should be 40, I think. I guess I could change it if I get it wrong?
 

 
View user's profileSend private message Reply with quote

Untergang
Reputation: 642.6 Add RepSubtract Rep
votes: 6
Local time: 6:57 AM
Location: Lommel
belgium.gif

Stand-by Stand-by
Stand-by Stand-by

0.20 posts per day
Medals: 0

Joined: May 08, 2007
Last Visit: 31 Oct 2011
Posts: 347
Points: 22131 

Post Re: Phpbb3 posts as phpnuke news Posted: Sat Jun 21, 2008 1:55 pm

Ok I'll make it very obvious where you have to edit the forum id.
 

 
View user's profileSend private messageSend e-mailVisit poster's website Reply with quote

Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » Hacks n Mods


 
52 Replies / 7423 Views
Page 1 of 5
All times are GMT
Goto page 1, 2, 3, 4, 5  Next
Display posts from previous:   
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum