1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.


Discussion in 'XenForo Development Discussions' started by Mythotical, Nov 26, 2010.

  1. Mythotical

    Mythotical Well-Known Member

    I am currently working on my portal add-on.

    So far here is the list of features:
    • News and News Archive selection for display in block
    • Ability to add new block manually, working on a more automated featured
    • Mod and admin menu blocks
    • Welcome message for those new to the site, can be customized through one single phrase
    • Latest Threads block (instructions for creating a new latest thread block will be included)
    • Displays as Home tab and breadcrumb displays as Home>Portal
    • Ability to turn blocks on or off via admin panel
    I am looking for others to suggest features. I have given a run down of blocks that will exist and other aspects that will be included. So not sure what else to add but I will have the first release of beta ready by mid week so get those feature suggestions in.

    Preview: xportal.png
    NolF, Dan and bogus like this.
  2. Mythotical

    Mythotical Well-Known Member

    Before anyone suggests a Poll block I'm not too sure that is even popular anymore but if there is a lot of feedback for one I may add one before beta release.
  3. bogus

    bogus Guest

    Very nice one. Looking forward to it. I would like to see a poll aswell.
  4. Mythotical

    Mythotical Well-Known Member

    Thanks, I may throw in the poll block as an optional that has to be enabled.
  5. Russ

    Russ Well-Known Member

    Popular Threads/Latest Posts is a must for me :), also the ability to potentially add pages using layouts would be a plus as well, it sounds like you're approaching it as a stand-alone portal but what will you do different to stand out from say Jaxel's portal? Looking forward to updates Steve :)
  6. Mythotical

    Mythotical Well-Known Member

    I could possibly do Popular Threads/Latest Posts. Adding pages should be handled through XF and then they be added to the navigation block automatically.

    Jaxel's includes a Wiki for many features, I have no intention of including a Wiki as well mine has the Home tab set as Portal but will require a small edit by users since they have not included a means to edit the home link for portals.
  7. iTuN3r

    iTuN3r Well-Known Member

    Can we have Block for Upcoming Events which works just like Latest threads Please :)
  8. Mythotical

    Mythotical Well-Known Member

    I'll see what I can do
  9. steven s

    steven s Well-Known Member

    Looks good. Just hope latest threads/posts are based on permission.
    It would be nice if it the url would appear as if it was in the root or at least the forum directory.
    Not /portal.
    Good luck!
    dieketzer likes this.
  10. Indigo

    Indigo Active Member

    I did some messing around to see if it was possible to replace the default controller with something else. It's definitely not perfect (Forums in header wouldn't work), but here's an example:
        XenForo_CodeEvent::fire('front_controller_pre_dispatch', array($this, &$routeMatch));
        if ( 
    $routeMatch->getControllerName() == 'XenForo_ControllerPublic_Index' )
        else if ( 
    $this->getRequest()->getParam('_origRoutePath') == 'boards' )
    $router = new XenForo_Router();
    $routeMatch $router->getRouteMatch('XenForo_ControllerPublic_Index''index''forums');
    This would go into the front_controller_pre_dispatch hook of course, I was just tossing it into the code for quick testing. Basically I'm intercepting the default public index controller and replacing it with something else. If the URL is "boards" it uses the normal index controller. There's probably a better way (admin.php?boards would break with this too), but I don't have a ton of time to search for one right now.
  11. Jeremy

    Jeremy XenForo Moderator Staff Member

    I did the same a while ago (in prep for my site I plan on doing). I basically did the same but defined a new route prefix.
  12. Mythotical

    Mythotical Well-Known Member

    At this time I have not discovered a way to make that possible. Now with Latest Threads/Post being based on permission, how do you mean based on permissions? I can only assume that threads from private forums are not shown to those without access. If that is the case then yes I plan to implement that portion before beta release.

    Thanks I will give it a go tomorrow.

    Thanks for the info KK, I may look for doing a new route prefix.
  13. NolF

    NolF Active Member

    It's looks very nice, I'm looking forward for more when ti's ready :D
  14. Jeremy

    Jeremy XenForo Moderator Staff Member

    You basically gotta modify / copy the main index route to accomplish it tho.
  15. iTuN3r

    iTuN3r Well-Known Member

    Can we also have atleast 3-4 different blocks for Latest Threads for each assigned categories it would make things easier for me ..The Project i am working on requires similar functions i was planning to use WP but after i saw your post i had to change my mind i am pretty sure you will come up with some better things :)

    When are you planning to release it ?
  16. Mythotical

    Mythotical Well-Known Member

    I'm planning a release late this week.

    Right now I have 3 blocks setup for various latest threads from forums that the admin chooses.
    NolF likes this.
  17. Mythotical

    Mythotical Well-Known Member

    Update: I have been working with the poll block but it will take me a bit longer so I will hold off on a poll block until I have released the first beta.
  18. Jaxel

    Jaxel Well-Known Member

    I'm gonna take whatever I like in your mod... STEAL IT! and then put it in my own mod...

    Blandt likes this.
  19. kuyenmotdivad

    kuyenmotdivad Active Member

    Q1: This looks like a great addon, when will it be ready?
    Q2: Will the portal work under the home folder if the forum is in another folder?


    Home - http://mysite.com (your portal addon here grabbing data from the /forum/ folder)
    Forum - http://mysite.com/forum/
  20. Mythotical

    Mythotical Well-Known Member


    Q1: Please refer to this post: http://xenforo.com/community/threads/xportal.8474/#post-117093
    Q2: That is a feature that I will work on once I have base features ready to go.

Share This Page