MyBB Hacks

Full Version: Check out the modified portal
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
I need a cms for my site. I was thinking about wordpress etc. But later thought that xthread can easily make a thread and forum look like a cms. But the problem was that how to put those news on index. Then I remembered Mybb`s default portal and thought of using it is the index, nut I needed a little more features so I decided to modify the portal.
Check it out at:  http://techedze.com/index.php Smile
This portal supports multi-page, short announcement and can show threads from any forum using fid in the url.
I am still working on it and right now there are few bugs in it.
That is looking very sharp - I tried the multipaging on the portal but it added all the multipage templates (un cached) and whacked 7 queries onto my main page. Did you fix that?
(05-02-2011 05:40 PM)leefish Wrote: [ -> ]That is looking very sharp - I tried the multipaging on the portal but it added all the multipage templates (un cached) and whacked 7 queries onto my main page. Did you fix that?

Yup. All you have to do is to add

Code:
$templatelist .= ",multipage_prevpage,multipage_nextpage,multipage_page_current,multipage_page,multipage_start,multipage_end,multipage";


Mybb`s default portal makes total 16 queries and this one makes total 18 queries.

Thank you Techu - I will have a go at adding that back in - the only reason I did not go with the paging was the queries, so that's great.

Maybe we should have the reputation system on here - I would definitely have repped that post Smile
(05-02-2011 09:10 PM)leefish Wrote: [ -> ]Thank you Techu - I will have a go at adding that back in - the only reason I did not go with the paging was the queries, so that's great.

Maybe we should have the reputation system on here - I would definitely have repped that post Smile

I guess you use proportal. Does`nt it already got multi-pagination feature??
Nope - I use the standard mybb portal, I just modified it a bit. My server is down at the moment, but you can usually see it on http://www.leefish.nl
(05-02-2011 11:51 PM)leefish Wrote: [ -> ]Nope - I use the standard mybb portal, I just modified it a bit. My server is down at the moment, but you can usually see it on http://www.leefish.nl

oh..
I have visited your site before. you portal looks awesome. Smile
Well, I am super impressed by the way you have tabbed your portal announcements - its a nice trick. My portal has ...A LOT of queries Smile But I have two galleries on there and a feature portal thing.

What I was looking at doing was trying to incorporate the portal announcements to index with pagination. That would give many forums the best of both worlds.
(05-03-2011 12:57 AM)leefish Wrote: [ -> ]Well, I am super impressed by the way you have tabbed your portal announcements - its a nice trick.

Thanks. But I need to be fix it as anyone can access any forum just by changing the fid.

(05-03-2011 12:57 AM)leefish Wrote: [ -> ]My portal has ...A LOT of queries Smile But I have two galleries on there and a feature portal thing.
What I was looking at doing was trying to incorporate the portal announcements to index with pagination. That would give many forums the best of both worlds.


That is a great idea but that would just double the query on the index.
Hmm, but on the portal, the portal announcements is only one query is it not? So it would be to hook into the portal settings for the number of announcments and then the query. Or not? Basically remake the query, but for index.
Pages: 1 2 3
Reference URL's