Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Pictures in Sitelinks - Works in Admin, but not on site

Please review:

www.php-fusion.se/images/screenshot1.png

While in Administration:

www.php-fusion.se/images/screenshot2.png

Not a Theme issue, tried 4 different, all standard.
Homy show me what you put in the site link name filed ? It works on my site.

Homy Just this in name field yes??

[ img ] htt p://w ww.php-fusion.se/images/gb.png[ /img ]PHP-Fusion UK

But Homy man, Minus my spaces yes!! :P

Homy try putting a space after the closing img tag ant the word PHP-Fusion UK

Ok homy good luck homy!!
Exactly
Is it fixed Homy?

Merged on Nov 26 2011 at 19:06:28:
Edit this post and copy n paste it in the field no this crap though....

www.php-fusion.se/images/gb.png PHP-Fusion UK

Merged on Nov 26 2011 at 19:09:40:
Try this css_navigation_panel.php

CodeDownload  
<?php   
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2011 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: navigation_panel.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

$list_open = false;

openside($locale['global_001']);
$result = dbquery(
   "SELECT link_name, link_url, link_window, link_visibility FROM ".DB_SITE_LINKS."
   WHERE link_position='1' OR link_position='2' ORDER BY link_order"
);
if (dbrows($result)) {
   $i = 0;
   echo "<div id='navigation'>\n";
   while($data = dbarray($result)) {
      $li_class = ""; $i++;
      if (checkgroup($data['link_visibility'])) {
         if ($data['link_name'] != "---" && $data['link_url'] == "---") {
            if ($list_open) { echo "</ul>\n"; $list_open = false; }
            echo "<h2>".parseubb($data['link_name'], "b|i|u|color|img")."</h2>\n";
         } else if ($data['link_name'] == "---" && $data['link_url'] == "---") {
            if ($list_open) { echo "</ul>\n"; $list_open = false; }
            echo "<hr class='side-hr' />\n";
         } else {
            if (!$list_open) { echo "<ul>\n"; $list_open = true; }
            $link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
            if ($i == 1) { $li_class = "first-link"; }
            if (START_PAGE == $data['link_url']) { $li_class .= ($li_class ? " " : "")."current-link"; }
            if (preg_match("!^(ht|f)tp(s)?://!i", $data['link_url'])) {
               echo "<li".($li_class ? " class='".$li_class."'" : "").">\n";
               echo "<a href='".$data['link_url']."'".$link_target." class='side'>".THEME_BULLET."\n";
               echo "<span>".parseubb($data['link_name'], "b|i|u|color|img")."</span></a></li>\n";
            } else {
               echo "<li".($li_class ? " class='".$li_class."'" : "").">\n";
               echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='side'>".THEME_BULLET."\n";
               echo "<span>".parseubb($data['link_name'], "b|i|u|color|img")."</span></a></li>\n";
            }
         }
      }
   }
   if ($list_open) { echo "</ul>\n"; }
   echo "</div>\n";
} else {
   echo $locale['global_002'];
}
closeside();
?>

Well it does not work.

I will post my navigation _panel.php

CodeDownload  
<?php   
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2010 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: navigation_panel.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

openside($locale['global_001']);
$result = dbquery(
   "SELECT link_name, link_url, link_window, link_visibility FROM ".DB_SITE_LINKS."
   WHERE link_position='1' OR link_position='2' ORDER BY link_order"
);
if (dbrows($result)) {
   while($data = dbarray($result)) {
      if (checkgroup($data['link_visibility'])) {
         if ($data['link_name'] != "---" && $data['link_url'] == "---") {
            echo "<div class='side-label'><strong>".parseubb($data['link_name'], "b|i|u|color")."</strong></div>\n";
         } else if ($data['link_name'] == "---" && $data['link_url'] == "---") {
            echo "<hr class='side-hr' />\n";
         } else {
            $link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
            if (preg_match("!^(ht|f)tp(s)?://!i", $data['link_url'])) {
               echo THEME_BULLET." <a href='".$data['link_url']."'".$link_target." class='side'>".parseubb($data['link_name'], "b|i|u|color")."</a><br />\n";
            } else {
               echo THEME_BULLET." <a href='".BASEDIR.$data['link_url']."'".$link_target." class='side'>".parseubb($data['link_name'], "b|i|u|color")."</a><br />\n";
            }
         }
      }
   }
} else {
   echo $locale['global_002'];
}
closeside();
?>

LMAO there is no img in the parsebb call .

here man....
CodeDownload  

<?php   

/*-------------------------------------------------------+

| PHP-Fusion Content Management System

| Copyright (C) 2002 - 2010 Nick Jones

| http://www.php-fu...

+--------------------------------------------------------+

| Filename: navigation_panel.php

| Author: Nick Jones (Digitanium)

+--------------------------------------------------------+

| This program is released as free software under the

| Affero GPL license. You can redistribute it and/or

| modify it under the terms of this license which you

| can read by viewing the included agpl.txt or online

| at www.gnu.org/licen... Removal of this

| copyright header is strictly prohibited without

| written permission from the original author(s).

+--------------------------------------------------------*/

if (!defined("IN_FUSION")) { die("Access Denied"); }



openside($locale['global_001']);

$result = dbquery(

   "SELECT link_name, link_url, link_window, link_visibility FROM ".DB_SITE_LINKS."

   WHERE link_position='1' OR link_position='2' ORDER BY link_order"

);

if (dbrows($result)) {

   while($data = dbarray($result)) {

      if (checkgroup($data['link_visibility'])) {

         if ($data['link_name'] != "---" && $data['link_url'] == "---") {

            echo "<div class='side-label'><strong>".parseubb($data['link_name'], "b|i|u|color|img")."</strong></div>\n";

         } else if ($data['link_name'] == "---" && $data['link_url'] == "---") {

            echo "<hr class='side-hr' />\n";

         } else {

            $link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");

            if (preg_match("!^(ht|f)tp(s)?://!i", $data['link_url'])) {

               echo THEME_BULLET." <a href='".$data['link_url']."'".$link_target." class='side'>".parseubb($data['link_name'], "b|i|u|color|img")."</a><br />\n";

            } else {

               echo THEME_BULLET." <a href='".BASEDIR.$data['link_url']."'".$link_target." class='side'>".parseubb($data['link_name'], "b|i|u|color|img")."</a><br />\n";

            }

         }

      }

   }

} else {

   echo $locale['global_002'];

}

closeside();

?>



Update your css_navigation_panel with the one from 7.02.04 man. ;)
well then thats a bug, all files were updated when upgarding to 7.01

Merged on Nov 26 2011 at 19:19:14:
fixed
Nah you forgot to overwrite the file when upgraded I just downloaded 7.02.04 full package and tested it it works fine.

This is it from 7.02.04.....

CodeDownload  
<?php   
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2011 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: navigation_panel.php
| Author: Nick Jones (Digitanium)
+--------------------------------------------------------+
| This program is released as free software under the
| Affero GPL license. You can redistribute it and/or
| modify it under the terms of this license which you
| can read by viewing the included agpl.txt or online
| at www.gnu.org/licenses/agpl.html. Removal of this
| copyright header is strictly prohibited without
| written permission from the original author(s).
+--------------------------------------------------------*/
if (!defined("IN_FUSION")) { die("Access Denied"); }

$list_open = false;

openside($locale['global_001']);
$result = dbquery(
   "SELECT link_name, link_url, link_window, link_visibility FROM ".DB_SITE_LINKS."
   WHERE link_position='1' OR link_position='2' ORDER BY link_order"
);
if (dbrows($result)) {
   $i = 0;
   echo "<div id='navigation'>\n";
   while($data = dbarray($result)) {
      $li_class = ""; $i++;
      if (checkgroup($data['link_visibility'])) {
         if ($data['link_name'] != "---" && $data['link_url'] == "---") {
            if ($list_open) { echo "</ul>\n"; $list_open = false; }
            echo "<h2>".parseubb($data['link_name'], "b|i|u|color|img")."</h2>\n";
         } else if ($data['link_name'] == "---" && $data['link_url'] == "---") {
            if ($list_open) { echo "</ul>\n"; $list_open = false; }
            echo "<hr class='side-hr' />\n";
         } else {
            if (!$list_open) { echo "<ul>\n"; $list_open = true; }
            $link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
            if ($i == 1) { $li_class = "first-link"; }
            if (START_PAGE == $data['link_url']) { $li_class .= ($li_class ? " " : "")."current-link"; }
            if (preg_match("!^(ht|f)tp(s)?://!i", $data['link_url'])) {
               echo "<li".($li_class ? " class='".$li_class."'" : "").">\n";
               echo "<a href='".$data['link_url']."'".$link_target." class='side'>".THEME_BULLET."\n";
               echo "<span>".parseubb($data['link_name'], "b|i|u|color|img")."</span></a></li>\n";
            } else {
               echo "<li".($li_class ? " class='".$li_class."'" : "").">\n";
               echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='side'>".THEME_BULLET."\n";
               echo "<span>".parseubb($data['link_name'], "b|i|u|color|img")."</span></a></li>\n";
            }
         }
      }
   }
   if ($list_open) { echo "</ul>\n"; }
   echo "</div>\n";
} else {
   echo $locale['global_002'];
}
closeside();
?>

or it did not get up properly...thanks Craig...
I takes quite a while for images to parse using bb on navigation.
Thread Information
Author
Replies
10 posts
Views
2,246 times
Last Post
Last updated on 8 years ago
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: Homdax, Craig