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.
Not a member yet? Click here to register.
Forgot Password?

welcome message

Asked Modified Viewed 1,049 times
J
Jirinoo
J
  • Junior Member, joined since
  • Contributed 27 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
asked
Junior Member

Hello, I have a request in the panels I have an infusion welcome which is displayed only on new.php and the text you write in the settings. when I write a welcome message there, it doesn't show up on new.php. it doesn't even write a mistake. and it doesn't show pictures in the news. when i tried themes at v 9 so there everything works. I use at 8.00.70
at 9 I don't want to fit me.

the problem has been going on since I installed it at 8.00.70
Edited by Anonymous User on 15-01-2021 00:21,
1 reply

7 posts

F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

Please provide some examples, I am having a hard time sorting the meaning of this.
0 replies
J
Jirinoo
J
  • Junior Member, joined since
  • Contributed 27 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
answered
Junior Member

this is not displayed on the right:
i.ibb.co/NCGyHSC/20210115-075704.jpg


and news categories are not displayed, they are turned on in the settings and I also have them uploaded:

i.ibb.co/02kgmKf/20210115-075814.jpg


sorry for my english this google
0 replies
J
Jirinoo
J
  • Junior Member, joined since
  • Contributed 27 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
answered
Junior Member

This is what it looks like when I have welcome and news. the category image is not displayed. the welcome panel does not appear
Jirinoo attached the following image:
Image not found
0 replies
J
Jirinoo
J
  • Junior Member, joined since
  • Contributed 27 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
answered
Junior Member

The v9 news works but what I watched there is an infusion. can you please help me how to put it in those themes to make it work? Code themes.php

<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_WIDTH", "1000");
define("THEME_BULLET", "<img src='".THEME."images/bullet.gif' alt='' style='border:0' />");
require_once INCLUDES."theme_functions_include.php";

function thesublinks($sep="&middot;",$class="") {
$i = 0; $res = "";
$sres = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' AND ".groupaccess('link_visibility')." AND link_url!='---' ORDER BY link_order ASC");
if (dbrows($sres)) {
while($sdata = dbarray($sres)) {
if ($i != 0) { $res .= " ".$sep."\n"; } else { $res .= "\n"; }
$link_target = $sdata['link_window'] == "1" ? " target='_blank'" : "";
$link_class = $class ? " class='$class'" : "";
if (strstr($sdata['link_url'], "http://") || strstr($sdata['link_url'], "https://")) {
$res .= "<a href='".$sdata['link_url']."'".$link_target.$link_class.">".$sdata['link_name']."</a>";
} else {
$res .= "<a href='".BASEDIR.$sdata['link_url']."'".$link_target.$link_class.">".$sdata['link_name']."</a>";
}
$i++;
}
}
if ($i != 0) { return $res; } else { return "&nbsp;"; }
}
function render_page($license=false) {

   global $settings, $main_style, $locale;

   //Header
   echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center'>\n<tr>\n";
   echo "<td class='full-header'></td>\n";
   echo "</tr>\n</table>\n";

//sublinks css
   echo "<table width='".THEME_WIDTH."' border='0' cellspacing='0' cellpadding='0' align='center'><tr><td>";
   echo "<div id='altlinkler'>";
   echo "<ul><li>".thesublinks("</li>\n<li>");
   echo "</li></ul><div class='clear-both'>&nbsp;</div></div>";
   echo "</td></tr></table>\n";


   //Content
   echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center' class='$main_style'>\n<tr>\n";
   if (LEFT) { echo "<td class='side-border-left' valign='top'>".LEFT."</td>"; }
   echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
   if (RIGHT) { echo "<td class='side-border-right' valign='top'>".RIGHT."</td>"; }
   echo "</tr>\n</table>\n";

   //Footer
   echo "<table cellpadding='0' cellspacing='0' width='".THEME_WIDTH."' align='center'>\n<tr>\n";
   echo "<td align='left' class='bottom-footer'><br />".stripslashes($settings['footer']);
   if (!$license) { echo "Grafika by Jirinoo �ablona by <a href=''>PHPfusionStyle.com</a>
<br />\n".showcopyright(); }
   echo "<br /><br />\n";
   echo "</td>\n";
   echo "</tr>\n</table>\n";

}

function render_news($subject, $news, $info) {

 echo "<br /><table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
 echo "<td class='capmain'>".$subject."</td>\n";
 echo "</tr>\n<tr>\n";
 echo "<td class='main-body'>".$news."</td>\n";
 echo "</tr>\n<tr>\n";
 echo "<td align='right' class='news-footer'>\n";
 echo newsopts($info,"&middot;").itemoptions("N",$info['news_id']);
 echo "</td>\n</tr>\n</table>\n";


}


function render_article($subject, $article, $info) {

 echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
 echo "<td class='capmain'>".$subject."</td>\n";
 echo "</tr>\n<tr>\n";
 echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>\n";
 echo "</tr>\n<tr>\n";
 echo "<td align='center' class='news-footer'>\n";
 echo articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
 echo "</td>\n</tr>\n</table>\n";

}

function opentable($title) {

 echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
 echo "<td class='capmain'>".$title."</td>\n";
 echo "</tr>\n<tr>\n";
 echo "<td class='main-body'>\n";

}

function closetable() {
 echo "</td>\n</tr>\n</table>\n";
}

function openside($title, $collapse = false, $state = "on") {
 global $panel_collapse; $panel_collapse = $collapse;
 echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>\n<tr>\n";
 echo "<td class='scapmain'>".$title."</td>\n";
 if ($collapse == true) {
 $boxname = str_replace(" ", "", $title);
 echo "<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>\n";
 }
 echo "</tr>\n<tr>\n";
 echo "<td".($collapse == true ? " colspan='2'" : "")." class='side-body'>\n";
 if ($collapse == true) { echo panelstate($state, $boxname); }
}
function closeside($collapse = false) {
 global $panel_collapse;
 if ($panel_collapse == true) { echo "</div>\n"; }
 echo "</td>\n</tr>\n</table>\n";
}
?>
0 replies
F
Falk
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
answered
Super Admin

Replace your function render_news($subject, $news, $info)

with,

function render_news($subject, $news, $info) {
global $settings;

   echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
   echo "<td class='box box-caption' onclick=\"location='".BASEDIR."news.php?readmore=".$info['news_id']."'\" style='cursor:pointer;'>".$subject."</td>\n";
   echo "</tr>\n</table>\n";
   echo "<table width='100%' cellpadding='0' cellspacing='0' class='spacer'>\n<tr>\n";
   echo "<td class='main-body'><div style='float:left;width:100%;'>".$info['cat_image'].$news."</div><div class='clear'></div><div style='float:right;font-size:9px;'>".newsposter($info)."</div></td>\n";
   echo "</tr>\n<tr>\n";
   echo "<td align='center' class='news-footer'>\n";
   echo "<div style='float:left;margin-top:3px;'>";
   echo newsopts($info," ·" ).itemoptions("N",$info['news_id']);
   echo " · </div>";
   echo "</td>\n";
   echo "</tr>\n";
   echo "<tr><td style='height:2px;background-color:#ff0024;'></td>\n";
   echo "</tr>\n</table>\n";

}
Edited by Falk on 18-01-2021 16:26,
0 replies
J
Jirinoo
J
  • Junior Member, joined since
  • Contributed 27 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
answered
Junior Member

Thank you very much I appreciate it. I put it there, and added one more code to display it in the header. but it doesn't show up whole. am I missing something there?

 echo "<td class='capmain'>".$subject."</td>\n";
Jirinoo attached the following image:
Image not found
0 replies
J
Jirinoo
J
  • Junior Member, joined since
  • Contributed 27 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions
answered
Junior Member

I already know my mistake. thank you very much again
echo "<td class='capmain' onclick=\"location='".BASEDIR."news.php?readmore=".$info['news_id']."'\" style='cursor:pointer;'>".$subject."</td>\n";
 echo "</tr>\n</table>\n";
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 7 posts
  • Votes 0 votes
  • Topic users 2 members

2 participants

F
F
Falk 131
Need help?, Having trouble?
• View our Documentation for Guides, Standards and Functions
• Name and Organize your Topics and Content correctly in the corresponding Forums for best support results
• Attaching Log Files and Screenshots when reporting issues will help
• Provide with an URL to live example if one exists
• Please read the How to Report an Error post
• Please read and comply with the Code of Conduct

(¯·._.·(¯°·._.·°º*[ Project Manager ]*º°·._.·°¯)·._.·¯)
  • Super Admin, joined since
  • Contributed 6,201 posts on the community forums.
  • Started 639 threads in the forums
  • Answered 11 questions
J
J
  • Junior Member, joined since
  • Contributed 27 posts on the community forums.
  • Started 8 threads in the forums
  • Started this discussions

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet