phpBBHacks.com - Pulling Data from a source inquiry
Managing Online Forums, a manual for the community admin
StatsForums Home   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
FAQFAQ   SearchSearch   MemberlistMemberlist   TutorialsTutorials   ContactContact Us
Username:    Password:
Remember Me?    
   I Lost My Password!
Bookmark and Share
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> General phpBB 3 Support and Discussion
 See a User Guidelines violation? Please contact us.
Author Message

Syren
Experienced User

Joined: 04 Jan 2005
Posts: 484

PostPosted: August 22nd 2010, 1:06 pm    Post subject: Pulling Data from a source inquiry Reply with quote

Okay guys, I have a need but I first wanted to present my need/idea here and see if anyone knows if there is already a mod or script that will allow me to accomplish what I need to accomplish.

A friend of mine has an RPG that he runs from an IRC channel. He has me in charge of their forum. I've installed the Canver portal. Now, I know how to make a custom block to contain content I want it to contain however ...

He has pages that are created via an IRC script called mircstats. This compiles information from the IRC channel and displays the stats on html pages that the mircsctats creates. Here is what the finished result looks like: http://oldtowerinn.sharnyl.net/mircstats/oldtowerinn.html

However, what I'd like to do is display the information (from whichever page I choose) all nice and neat in a block on the portal page located here: http://oldtowerinn.sharnyl.net/

Now, I've spent the better part of the morning customizing a block, entering the html coding of the stats I wanted in the block and spent several hours messing with it in an effort to get it looking just right. But it's not working.

I was wondering if there was a script or mod already available that I may be able to insert in to the block to achieve my end goal?
Back to top
View user's profile Send private message Visit poster's website

femu
Well Known User

Joined: 07 Jul 2007
Posts: 206

PostPosted: August 24th 2010, 10:38 pm    Post subject: Reply with quote

I'm pretty sure, there is none available. But if you can read out the needed data, then you can add them as a block to your portal.

Unfortunately I don't know the Canvar Portal. I use the Board3 portal. Over there it's easy to such a block, if you have access to the needed datas ...

EDIT: Just took a quick look on Cnavar portal (is it the phpBB3 Portal 1.2.2?). If so, you need to create a PHP file in the root/portal/block folder, where you read out the data and assign them to a template in styles/you_style/template/portal/block

Then include the block in your portal and that's it ...

But you can't read out the datas from a HTML ... YOu need to have access to the database, which holds the data!
_________________
Regards,
femu

NO SUPPORT VIA EMAIL OR PM!! Please use the forum!
[My modifications homepage] - [My main page (German only!)]
Back to top
View user's profile Send private message

Syren
Experienced User

Joined: 04 Jan 2005
Posts: 484

PostPosted: August 27th 2010, 9:39 am    Post subject: Reply with quote

Thanks, femu. Yup, the portal is 1.2.2. I can do the block and create the php file for it the only thing though is ...

The mircstats doesn't use a database. It's an .exe that collects and outputs the data in html format. Is what I want to accomplish still possible?
Back to top
View user's profile Send private message Visit poster's website

femu
Well Known User

Joined: 07 Jul 2007
Posts: 206

PostPosted: August 27th 2010, 9:59 am    Post subject: Reply with quote

I don't think so. At least not with (and by) my knowledge ... All phpBB stuff works by reading out the SQL databases and doing queries on these.

In this case I suggest to put the results via an iFrame into a seperate page and only make a link in the portal. There are to much informations on that page.

You can try to use a small addon I made (download). There I simply made a "mod", which finally only includes an external page via iFrame in the phpBB3 manner.

Hope this helps.
_________________
Regards,
femu

NO SUPPORT VIA EMAIL OR PM!! Please use the forum!
[My modifications homepage] - [My main page (German only!)]


Last edited by femu on August 28th 2010, 1:08 am; edited 1 time in total
Back to top
View user's profile Send private message

Syren
Experienced User

Joined: 04 Jan 2005
Posts: 484

PostPosted: August 27th 2010, 1:38 pm    Post subject: Reply with quote

Thanks femu, I appreciate it
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> General phpBB 3 Support and Discussion All times are GMT - 6 Hours
Page 1 of 1
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



Links: Big Message Boards - Free JavaScript - phpBB2 - phpbb styles - Suporte phpBB - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl - phpBB Brasil - phpBB Portugal - phpBBpersian.com

Network: iFroggy Hosting - PhotoshopForums.com - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - KarateForums.com - Bad Boy Blog - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Disclosure Policy - Staff - User Guidelines >

Copyright © 2001-2012. iFroggy Network, phpBBHacks.com. All Rights Reserved. Privacy Policy. We Support phpBBHacks.com (of course!).
Powered by phpBB © phpBB Group. phpBB SEO. We are in no way affiliated with the phpBB Group. phpBB is copyright to the phpBB Group.