php - PHPBB Homepage integration? -
i working on website , have custom coded webpage , phpbb running it. can't seem integrate phpbb homepage. have info (number of members, posts etc) news section (recent posts/updates on forum). have done deal of research on can't find solution. seen or know how integration this? bunch, josh.
just connect phpbb-database , select things want know
for example select list of newest post of special members (team members) in forums. result shown here: http://www.omega-day.com/?op=news&lang=0
for wrote 3 views.
create view `teamuserfarben` select `u`.`username` `username`,`u`.`user_id` `user_id`,`g`.`group_colour` `group_colour` ((`prefix_` `u` join `prefix_user_group` `ug` on((`u`.`user_id` = `ug`.`user_id`))) join `prefix_groups` `g` on((`ug`.`group_id` = `g`.`group_id`))) (`g`.`group_id` in (<group ids>)) group `u`.`username`; create view `teammeldungen` select `u`.`username` `username`,`u`.`user_id` `user_id`,`t`.`forum_id` `forum_id`,`f`.`forum_name` `forum_name`,`t`.`topic_title` `topic_title`,`t`.`topic_id` `topic_id`,`p`.`post_id` `post_id`,`p`.`post_time` `post_time` (((`prefix_` `u` join `prefix_posts` `p` on((`p`.`poster_id` = `u`.`user_id`))) join `prefix_topics` `t` on((`t`.`topic_id` = `p`.`topic_id`))) join `prefix_forums` `f` on((`f`.`forum_id` = `t`.`forum_id`))) (`t`.`forum_id` in (<forum ids watch>)); create view `teamallposts` select `tm`.`username` `username`,`tm`.`user_id` `user_id`,`tc`.`group_colour` `group_colour`,`tm`.`forum_id` `forum_id`,`tm`.`forum_name` `forum_name`,`tm`.`topic_title` `topic_title`,`tm`.`topic_id` `topic_id`,`tm`.`post_id` `post_id`,`tm`.`post_time` `post_time` (`teammeldungen` `tm` left join `teamuserfarben` `tc` on((`tm`.`user_id` = `tc`.`user_id`))) order `tm`.`post_id` desc; so can work data of phpbb want to. search information need stored , select it. that's all!
Comments
Post a Comment