Author |
Message |
afc
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/Star_Trek/Star_Trek_-_Defiant.gif)
Joined: Aug 16, 2003
Posts: 107
Location: USA
|
Posted:
Wed Jul 06, 2011 12:29 am |
|
I installed phpbb3 bridge and i want to get the top menu working. you can turn the forum on and the forum link appears, I just want to edit the links so i can direct them to the phpbb3 forums. Where is the files located with the links to the forum?
Is there a way to put phpbb3 into module like iframes so it shows up inside my theme. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/3234de284ee21bd39eecd.jpg)
Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Wed Jul 06, 2011 8:16 am |
|
To answer your first question about the nuke nav menu directing to the phpbb3 install, look in includes/jquery/nukeNAV.php on around line 82 and find the following code:
Code:if (is_active('Forums')) {
$nukeNAV .= '
<li><a title="">' . _NAV_FORUMS . '</a>
<ul>
<li><a href="forums.html" title="">' . _NAV_FORUMS . '</a></li>
<li><a href="forums.html?amp;file=search&search_id=newposts" title="">' . _NAV_NEWPOSTS . '</a></li>
<li><a href="forums.html?amp;file=search&search_id=unanswered" title="">' . _NAV_UNANSWERED . '</a></li>';
if (is_user($user)) $nukeNAV .= '
<li><a href="forums.html?amp;file=search&search_id=egosearch" title="">' . _NAV_YOURPOSTS . '</a></li>';
$nukeNAV .= '
</ul>
</li>';
}
|
Replace it with this code:
Code:$nukeNAV .= '
<li><a title="">' . _NAV_FORUMS . '</a>
<ul>
<li><a href="phpBB3" title="">' . _NAV_FORUMS . '</a></li>
<li><a href="phpBB3/search.php" title="">Forum Search</a></li>
</ul>
</li>';
|
I will look into your other question. |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Jul 06, 2011 9:00 am |
|
You could use something like NukeWrap to iframe it, but if you want a forum that is "included" into your site, I would stick with the included RavenNuke Forums. They are fully integrated into the site and work great. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
afc
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Jul 06, 2011 9:04 am |
|
Thanks for the help i did change it a little more so there was no changes in the links.
Code:
if (is_active('Forums')) {
$nukeNAV .= '
<li><a title="">' . _NAV_FORUMS . '</a>
<ul>
<li><a href="phpBB3/index.php" title="">' . _NAV_FORUMS . '</a></li>
<li><a href="phpBB3/search.php?search_id=newposts" title="">' . _NAV_NEWPOSTS . '</a></li>
<li><a href="phpBB3/search.php?search_id=unanswered" title="">' . _NAV_UNANSWERED . '</a></li>';
if (is_user($user)) $nukeNAV .= '
<li><a href="phpBB3/search.php?search_id=egosearch" title="">' . _NAV_YOURPOSTS . '</a></li>';
$nukeNAV .= '
</ul>
</li>';
|
|
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Wed Jul 06, 2011 9:18 am |
|
You may want to remove the
Code:
if (is_active('Forums')) {
}
|
if you are not going to have the other forums active. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
bobbyg
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/47640777475ce61275311.jpg)
Joined: Dec 05, 2007
Posts: 212
Location: Tampa, Florida
|
Posted:
Thu Jul 07, 2011 9:24 pm |
|
What about changing
if (is_active('Forums')) {
to
if (is_active('phpBB3')) { |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Palbin
Site Admin
![](modules/Forums/images/avatars/Dilbert/Dilbert_-_Dogbert_King.gif)
Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania
|
Posted:
Fri Jul 08, 2011 5:12 am |
|
bobbyg wrote: | What about changing
if (is_active('Forums')) {
to
if (is_active('phpBB3')) { |
No because phpBB3 is not a module in the real sense of the word. |
_________________ "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
bobbyg
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Sat Jul 09, 2011 10:49 am |
|
Yeah, I forgot that it was not added as a module. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|