-
AuthorPosts
-
January 18, 2009 at 9:57 pm #137236
Hi. I just (3-4 weeks ago) started to use Joomla and im loving it! What im wondering about is how can i make a link in sanidine II template to my phpbb3 forum so that it loads just under the topmenu without using a wrapper? What i mean is that i want exactly like i have on my site right now but without a wrapper… i’m not good at html or such so coding isnt a very good idea.
Site that im using the template in is: http://www.hoi3.com
Appreciate any help!
jwellman Friendjwellman
- Join date:
- April 2008
- Posts:
- 543
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 115
- Thanked:
- 59 times in 21 posts
January 18, 2009 at 10:16 pm #286992You can view one of my sites by clicking here. Click the link at the top entitled forum. Is that what you are trying to do?
If so, go into your Menu Manager and create an “external link”. If you want it to open in a new window you will also have to set that property.
bennitos Friendbennitos
- Join date:
- May 2008
- Posts:
- 1717
- Downloads:
- 0
- Uploads:
- 39
- Thanks:
- 39
- Thanked:
- 474 times in 407 posts
January 18, 2009 at 10:17 pm #286993may i ask why you dont want to use a wrapper?
jwellman Friendjwellman
- Join date:
- April 2008
- Posts:
- 543
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 115
- Thanked:
- 59 times in 21 posts
January 18, 2009 at 10:19 pm #286995Too many scroll bars for me! I don’t like the wrapper.
bennitos Friendbennitos
- Join date:
- May 2008
- Posts:
- 1717
- Downloads:
- 0
- Uploads:
- 39
- Thanks:
- 39
- Thanked:
- 474 times in 407 posts
January 18, 2009 at 10:24 pm #286997<em>@jwellman 106764 wrote:</em><blockquote>Too many scroll bars for me! I don’t like the wrapper.</blockquote>
What i usually do, remove phpbb’s header set the with so that they are no horizontal scrollbars.
And edit the wrapper.php so i can pass variables trough the wrapper, like link to specific topics inside the wrapper.Just wanted to ask, as the poster mentioned he did not want to change alot of code. Place your normal joomla menu above your phpbb needs a bit of adjusting.
January 18, 2009 at 10:26 pm #286998<em>@jwellman 106761 wrote:</em><blockquote>You can view one of my sites by clicking here. Click the link at the top entitled forum. Is that what you are trying to do?
If so, go into your Menu Manager and create an “external link”. If you want it to open in a new window you will also have to set that property.</blockquote>
No no, i want the forum to open in the same browser window.. not a new one. I just found a site that has exactly what i want…
http://www.minidirectory.co.uk/phpBB3/
Exactly like that!
January 18, 2009 at 10:29 pm #286999<em>@bennitos 106766 wrote:</em><blockquote>What i usually do, remove phpbb’s header set the with so that they are no horizontal scrollbars.
And edit the wrapper.php so i can pass variables trough the wrapper, like link to specific topics inside the wrapper.Just wanted to ask, as the poster mentioned he did not want to change alot of code. Place your normal joomla menu above your phpbb needs a bit of adjusting.</blockquote>
Thats what i also want to do. If i write an artcile i want to be able to link to a forum post and when someone clicks the link they are taken to that specific forum post and still have the menu up top etc.
jwellman Friendjwellman
- Join date:
- April 2008
- Posts:
- 543
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 115
- Thanked:
- 59 times in 21 posts
January 18, 2009 at 10:30 pm #287000It looks like they’ve accomplished the same thing Bennitos suggested…which I’ve never done! Hopefully he will give you the advice to make it happen! As soon as I see the answer I’ll give it a whirl too. I like the example site you listed!
bennitos Friendbennitos
- Join date:
- May 2008
- Posts:
- 1717
- Downloads:
- 0
- Uploads:
- 39
- Thanks:
- 39
- Thanked:
- 474 times in 407 posts
January 18, 2009 at 10:56 pm #287001A decent bridge for phpbb 3.x is still not really around but,
What i did on my site is, i changed the wrapper.php wich is standard in joomla so that it would accept variables that i can pass trough it.
Do the following:
1. Make a backup of the file /components/com_wrapper/wrapper.php
2. Open the file in an editor and go to line 35.
3. Search for this text: $url = $params->def( ‘url’, ” );
4. Insert the following block AFTER the line:foreach ($_GET as $key => $value) {
if ($key<>”option” && $key<>”Itemid”) {
$url.=(strpos($url,”?”)) ? “&” : “?”;
$url.=”$key=$value”;
}
}
5. Save the file and test the solution in your browser.This is for example a link to a special phpBB topic:
http://www.yourdomain.com/index.php?option=com_wrapper&Itemid=110&t=3022
the corresponding URL in the Wrapper configuration is:
http://www.yourdomain.com/phpBB/viewtopic.php
the additional parameter “t” is passed to phpBB:
http://www.yourdomain.com/phpBB/viewtopic.php?t=3022
I use this so i can point to certain topics from my joomla installation and then it will open the topic inside the wrapper. Have been using this solution also to apply different stylesheets trough the wrapper and other things.
2 users say Thank You to bennitos for this useful post
bennitos Friendbennitos
- Join date:
- May 2008
- Posts:
- 1717
- Downloads:
- 0
- Uploads:
- 39
- Thanks:
- 39
- Thanked:
- 474 times in 407 posts
January 18, 2009 at 10:57 pm #287002If you also want to sync your joomla users with the phpbb then i use this component:
http://extensions.joomla.org/extensions/bridges/authentication-bridges/3723/details
Make sure you read all the documentation and after it should work perfectly.
2 users say Thank You to bennitos for this useful post
bennitos Friendbennitos
- Join date:
- May 2008
- Posts:
- 1717
- Downloads:
- 0
- Uploads:
- 39
- Thanks:
- 39
- Thanked:
- 474 times in 407 posts
January 18, 2009 at 10:59 pm #287003So now you have:
A wrapper to phpbb where you can link to inside.
Your users are synced between joomla and phpbb
Now you only have to play with your phpbb style to make it match your site and maybe remove the header above it (as you already have your joomla menu above) but on customising phpbb themes and style you might be better off in the phpbb support forum.
January 18, 2009 at 11:00 pm #287004<em>@bennitos 106770 wrote:</em><blockquote>A decent bridge for phpbb 3.x is still not really around but,
What i did on my site is, i changed the wrapper.php wich is standard in joomla so that it would accept variables that i can pass trough it.
Do the following:
1. Make a backup of the file /components/com_wrapper/wrapper.php
2. Open the file in an editor and go to line 35.
3. Search for this text: $url = $params->def( ‘url’, ” );
4. Insert the following block AFTER the line:foreach ($_GET as $key => $value) {
if ($key<>”option” && $key<>”Itemid”) {
$url.=(strpos($url,”?”)) ? “&” : “?”;
$url.=”$key=$value”;
}
}
5. Save the file and test the solution in your browser.This is for example a link to a special phpBB topic:
http://www.yourdomain.com/index.php?option=com_wrapper&Itemid=110&t=3022
the corresponding URL in the Wrapper configuration is:
http://www.yourdomain.com/phpBB/viewtopic.php
the additional parameter “t” is passed to phpBB:
http://www.yourdomain.com/phpBB/viewtopic.php?t=3022
I use this so i can point to certain topics from my joomla installation and then it will open the topic inside the wrapper. Have been using this solution also to apply different stylesheets trough the wrapper and other things.</blockquote>
Wow! Thanks a TON for your help. I cant say how happy and thankful i am right now haha. I have been searching everywhere for like 5 hours now without any kind of answer.
bennitos Friendbennitos
- Join date:
- May 2008
- Posts:
- 1717
- Downloads:
- 0
- Uploads:
- 39
- Thanks:
- 39
- Thanked:
- 474 times in 407 posts
January 18, 2009 at 11:03 pm #287005Glad i have been able to help.
Maybe in the future you wont be needing this anymore as people are working on a decent phpbb bridge. But it has been in development for ages now. And i think staying with phpbb 2.x (there is a good bridge for that one) isnt really an option.
bennitos Friendbennitos
- Join date:
- May 2008
- Posts:
- 1717
- Downloads:
- 0
- Uploads:
- 39
- Thanks:
- 39
- Thanked:
- 474 times in 407 posts
January 18, 2009 at 11:26 pm #287012The extention i posted before JFusion, also has an option to integrate phpbb into joomla visually.
When i tried using that quite some time ago i didnt get it to work, but it seems to be fully supported now. If you get that to work then you wont need to use the wrapper.
Part of Jfusion documentation
Visual Integration
Another important aspect is that you want these softwares to look like they are running inside Joomla itself. We have a couple of options on how to achieve this: 1) direct link with template modifications of the external software, 2) the use of an iframe wrapper and 3) frameless visual integration that grabs the output of the external software and displays it inside your Joomla template. Which option you chose depends on how big your site is and how good you are in modifying html/css templates. For more information visit our documentation section. -
AuthorPosts
This topic contains 14 replies, has 3 voices, and was last updated by bennitos 15 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum