Steve-Ray Posted September 7, 2012 Share Posted September 7, 2012 yes, you can use ip content blocks. I use them on my portal page, just the way you propose, by pasting that code in the template. simple and it works. Thanks for the response surferboy I do appreciate it. Which template though and where exactly? The skeleton template or what? LOL, help an old guy out! Link to comment Share on other sites More sharing options...
Akabane Posted September 7, 2012 Share Posted September 7, 2012 Yep MU-Ray, in portal > SkeletonTemplate for me it's : <div class='ipsLayout_content clearfix'> {parse template="showBlocks" group="portal" params="$mainBlocks"} </div> <div class='ipsLayout_right'> {parse block="blog_ad"} {parse block="pubinfluence"} {parse block="sb-block"} {parse block="derniers_status"} {parse template="showBlocks" group="portal" params="$rightBlocks"} </div> Problem is, you don't have much flexibility to place the blocks between IP.Content and the portal system. Would be GREAT to have the portal aware of the blocks from iP.content. Link to comment Share on other sites More sharing options...
TracyIsland Posted September 7, 2012 Share Posted September 7, 2012 read back just one page ... !!! http://community.invisionpower.com/topic/340062-download-portal/page__st__300#entry2297042 that's how my skeleton template is coded Link to comment Share on other sites More sharing options...
Steve-Ray Posted September 7, 2012 Share Posted September 7, 2012 Thanks very much!!! I will try that code in the template and report back as to my success. If it works then great and others will have the code to use as well if needed. Thanks again. I will be back soon with the results.{parse template="showBlocks" group="portal" params="$rightBlocks"} This last line of the code, specifically "$rightBlock", I could change that to top, left, bottom, middle or whatever. Correct? Ray Link to comment Share on other sites More sharing options...
Steve-Ray Posted September 7, 2012 Share Posted September 7, 2012 Thanks for that code too surferboy. I looked at it and it is only a 3 column portal by the looks of it and Im using Mike's latest version which sports 5 different zones. Cheers, Ray Link to comment Share on other sites More sharing options...
fox2 Posted September 8, 2012 Share Posted September 8, 2012 Hi, I would like to thank you Mike for this. It's absolutely amazing, I was searching a portal like that since a lot of time. My first question is: As a Frenchman, our forum is in french, so is there a french version of your portal? I guess not, so where can I translate english words? I don't hate english for sure (!), but some French guys are very bad in that language, and it's much more better for us to have a french version. It concerned words in "Main Blocks", as "views", "replies", and "Last reply by". Second question, and I'll stop: Can we delete all this social networks buttons, at the same place that english words I said earlier? Well, there are useless for us, and, in my point of view, they take too much space. I hope my questions weren't ask before. :ph34r: Thanks a lot for your answer, Best regards. Link to comment Share on other sites More sharing options...
Steve-Ray Posted September 8, 2012 Share Posted September 8, 2012 Ok, so I would like to start by saying a big Thank You to the guys that got me on the straight path with embedding the slider in the Portal. I know have it working on my site and now I can edit the images to make use of my images and creativity. Here is my code to show the location of the required parse coding. Again a big Thank you!! I am also going to play with the coding to see if I can have multiple sliders working in different combinations at the same time and also embedded within any specific block whether it be in a sideblock or the center main blocks. Ray mappersunited.com Link to comment Share on other sites More sharing options...
fox2 Posted September 8, 2012 Share Posted September 8, 2012 Hi, I would like to thank you Mike for this. It's absolutely amazing, I was searching a portal like that since a lot of time. My first question is: As a Frenchman, our forum is in french, so is there a french version of your portal? I guess not, so where can I translate english words? I don't hate english for sure (!), but some French guys are very bad in that language, and it's much more better for us to have a french version. It concerned words in "Main Blocks", as "views", "replies", and "Last reply by". I've find, and now it's ok. You have to go in "Languages" settings, in Admin CP, and find "Portal" tab. I'm still searching for "social networks logos", if somebody has a response... :thumbsup: EDIT: Ok, find it... Just deleted a line from "articles' file... Link to comment Share on other sites More sharing options...
Planetby Posted September 10, 2012 Share Posted September 10, 2012 Not really a support question I guess but maybe someone already does this and would care to share :smile: Trying to make a block that only pulls topics from specified topics, that I can basically just change the topic ID numbers. Thanks for any help Anyone know how to do this ? Link to comment Share on other sites More sharing options...
TracyIsland Posted September 10, 2012 Share Posted September 10, 2012 Anyone know how to do this ? Maybe post in the ipcontent section? Isn't your question really for that or are you talking about the "blocks" that Mike has for Portal (I still don't know how to use them)? Link to comment Share on other sites More sharing options...
Planetby Posted September 10, 2012 Share Posted September 10, 2012 No surferboy I am meaning the portal blocks, i've tried for about a week :lol: Link to comment Share on other sites More sharing options...
Michael.J Posted September 11, 2012 Author Share Posted September 11, 2012 Not really a support question I guess but maybe someone already does this and would care to share :smile: Trying to make a block that only pulls topics from specified topics, that I can basically just change the topic ID numbers. What kind of topic data do you need. Have you got the display end sorted out? I assume you just need the db query and code that pulls the topic? Does it need permission checks? My first question is: As a Frenchman, our forum is in french, so is there a french version of your portal? I guess not, so where can I translate english words? I don't hate english for sure (!), but some French guys are very bad in that language, and it's much more better for us to have a french version. It concerned words in "Main Blocks", as "views", "replies", and "Last reply by". Sorry no French language pack is available. But I see you've already found the language files. If you would like submit your langauge file to the Marketplace, I'm sure that would be some other French language users who would find it helpful. Link to comment Share on other sites More sharing options...
Akabane Posted September 11, 2012 Share Posted September 11, 2012 I'm having a weird bug again : the portal change the threads order... If someone post in an older thread, the thread will be back on top... Annnnnnnnd I REALLY don't want that. :/ Any fix ? I HAD this bug, corrected it but it's back with the upgrade and can't remember how I did it. -_- Link to comment Share on other sites More sharing options...
Planetby Posted September 11, 2012 Share Posted September 11, 2012 What kind of topic data do you need. Have you got the display end sorted out? I assume you just need the db query and code that pulls the topic? Does it need permission checks? Permissions aren't an issue Mike as the Portal is all guest viewable, just something to add into a block that I can pull a specific topic. A Featured Topic block is what i'm trying to achieve if possible :) Link to comment Share on other sites More sharing options...
fox2 Posted September 12, 2012 Share Posted September 12, 2012 Can we modify the Mobile App ? We want to put a Right Block at the top, only in the Mobile App. Is it possible ? Link to comment Share on other sites More sharing options...
Makoto Posted September 13, 2012 Share Posted September 13, 2012 Is there any way to have Portal take advantage of IP.Boards SEO settings? The custom title, meta description and meta keywords? This would make the portal significantly more appealing to me. Link to comment Share on other sites More sharing options...
Akabane Posted September 13, 2012 Share Posted September 13, 2012 OKAY, so, to never lose that again, and see a fix one day... To have the new THREADS in the GOOD order in the main block... Change the ligne 189 / 190 of admin/application_addon/other/portal/source/block.php with : $unpinned[ $row['start_date'] ] = $row['tid']; $all[ $row['start_date'] ] = $row['tid']; And the version number still says 1.1.0 on the portal while the 1.2.0 is installed btw. Thx for the mod though. o/ Link to comment Share on other sites More sharing options...
fox2 Posted September 13, 2012 Share Posted September 13, 2012 Can we modify the Mobile App ? We want to put a Right Block at the top, only in the Mobile App. Is it possible ? Up, to show this request at page 18. Link to comment Share on other sites More sharing options...
KiwiBird Posted September 18, 2012 Share Posted September 18, 2012 We currently want the Latest Topics to have the following setting: Latest Topics (Main): 2 Latest Topics (Sidebar): 9 Don't pin pinned topics: Yes Latest Topics (Main) - Forums: All But we want an additional block above this with the first newest reply from forum id 2. What would the code be for this? Link to comment Share on other sites More sharing options...
miro912 Posted September 19, 2012 Share Posted September 19, 2012 Hi how can I please ban the portal for guests? Thanks in advance Link to comment Share on other sites More sharing options...
Planetby Posted September 20, 2012 Share Posted September 20, 2012 We currently want the Latest Topics to have the following setting: Latest Topics (Main): 2 Latest Topics (Sidebar): 9 Don't pin pinned topics: Yes Latest Topics (Main) - Forums: All But we want an additional block above this with the first newest reply from forum id 2. What would the code be for this? Been trying to do this for the past couple weeks but no joy yet :( If I happen to find out I will be sure to let you know Link to comment Share on other sites More sharing options...
Michael.J Posted September 26, 2012 Author Share Posted September 26, 2012 Is there any way to have Portal take advantage of IP.Boards SEO settings? The custom title, meta description and meta keywords? This would make the portal significantly more appealing to me. I'm not SEO expert but wouldn't that been seen in bad light by search engines? Both the Portal and Forums page using the same meta values? If you or someone else with SEO experience can let me know. I can still provide a file edit for your own use if you want? Can we modify the Mobile App ? We want to put a Right Block at the top, only in the Mobile App. Is it possible ? No sorry the mobile app/skin uses exactly the same blocks as normal skins. Currently no way to show a block only in 1 skin. We currently want the Latest Topics to have the following setting: Latest Topics (Main): 2 Latest Topics (Sidebar): 9 Don't pin pinned topics: Yes Latest Topics (Main) - Forums: All But we want an additional block above this with the first newest reply from forum id 2. What would the code be for this? If you have some php knowledge, check out the admin/applications/forums/sources/classes/topics.php and the function getTopics. If you need a full plugin created, you'll need to see a modder to create this for you as this is not a simple edit I can provide. how can I please ban the portal for guests? Open admin/applications_addon/other/portal/modules_public/portal/portal.php Find: //----------------------------------------- // Pass to print... //----------------------------------------- Add ABOVE: # No soup for you! if ( ! $this->memberData['member_id'] ) { $this->registry->getClass('output')->showError( 'no_permission' ); } Save admin/applications_addon/other/portal/modules_public/portal/portal.php Been trying to do this for the past couple weeks but no joy yet :sad: If I happen to find out I will be sure to let you know Example plugin code below, you said you've got the template bit done, let me know if you need help linking this source code to the template bit. Right now it's just printing the topic data straight out. Change # to the topic id. <?php /* Init */ if ( ! $this->registry->isClassLoaded('topics') ) { $classToLoad = IPSLib::loadLibrary( IPSLib::getAppDir( 'forums' ) . "/sources/classes/topics.php", 'app_forums_classes_topics', 'forums' ); $this->registry->setClass( 'topics', new $classToLoad( $this->registry ) ); } $topic = $this->registry->getClass('topics')->getTopicById( # ); print_r($topic); ?> Link to comment Share on other sites More sharing options...
Makoto Posted September 26, 2012 Share Posted September 26, 2012 I'm not SEO expert but wouldn't that been seen in bad light by search engines? Both the Portal and Forums page using the same meta values? If you or someone else with SEO experience can let me know. I can still provide a file edit for your own use if you want? I'm almost positive it would not, or it'd be by a negligable amount. Google does not require or expect you to have dyanmic content. On the contrary, if you use the Portal as your homepage and leave it to select its own undescriptive site description with a non-attention grabbing "Portal" as the site title, it can definitely hurt your conversion ratios. I would love the edit to apply myself if anything. Link to comment Share on other sites More sharing options...
Planetby Posted September 28, 2012 Share Posted September 28, 2012 Hi Mike, thanks for posting that for me now I see where I was going wrong :lol: What can I say i'm what we call in Scotland an eejit (idiot) 90% of the time. Thanks again for the help :) Link to comment Share on other sites More sharing options...
enddDD Posted September 30, 2012 Share Posted September 30, 2012 Hello,i have a quick question.I have my forum installed in mysite.com/forum .In the main domain mysite.com i have a website with drupal installed.My question: how do i install to mysite.com .Wich documentation do i have to follow to achieve this.Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.