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.

Theme request

Hi, you all,

I'm searching for someone who will fix my theme.php (and css) according to latest version (7.02) and standards.
for example: my news-pics aren't showing and I think there can be some hard code removed...
Is this the right place to get connected?

gr Martijn
ps. It doesn't have to be for free...
post it here then I'll do it :D
To fix the news cat items, just search for $news / ".$news." in your theme php and replace it with this one:
".$info['cat_image'].$news."!

Quote

Martijn78 wrote:
ps. It doesn't have to be for free...


Post it here and I'll do it for £300 :P
@Craig: L:DL
@martijn: also, there are some little additions which you can find in any core theme of 7.02, say, gillette....

Quote

lippke wrote:

post it here then I'll do it :D


thanks, here it is...
CodeDownload  
//News
function render_news($subject, $news, $info) {

global $locale, $aidlink, $user_data;

  echo "<table cellpadding='0' cellspacing='0' width='100%' style='margin-top:5px'>n<tr>n
          <td class='news-capmain'>$subject</td><td class='news-capmainr' width='15'></td>
            </tr>n<tr>n
             <td class='main-body' colspan='2'>";
          echo "<div class='news-poster'>".$locale['global_070']." <a class='news' href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ".$locale['global_071'].showdate("longdate", $info['news_date'])."</div>n";
          echo "$news";
            if (!isset($_GET['readmore']) && $info['news_ext'] == "y") { echo " <br /><img src='".THEME."images/readmore.gif' alt='' style='vertical-align:middle;border:0px;' /> <a href='news.php?readmore=".$info['news_id']."'><strong>".$locale['global_072']."</strong></a>";}
        echo "</td>
           </tr>n<tr>n
              <td class='news-footer' colspan='2'>n";
          if ($info['news_allow_comments']) { echo " <!-- <img src='".THEME."images/comments.gif' alt='' style='vertical-align:middle;border:0px;' /> <a class='news' href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].($info['news_comments'] == 1 ? $locale['global_073b'] : $locale['global_073'])."</a> -->";}
         
//echo " [<a class='news' href='print.php?type=N&amp;item_id=".$info['news_id']."'>".$locale['global_075']."</a>]";
//         if (iADMIN && checkrights("N")) { echo " [<a class='news' href='".ADMIN."news.php".$aidlink."&amp;action=edit&amp;news_id=".$info
//['news_id']."'>".$locale['global_076']."</a>]n"; }
//TESTTEST
 echo "".newsopts($info, THEME_BULLET).itemoptions("N",$info['news_id'])."      </td>n
            </tr>n
        </table>n";
}

This should do it :)

CodeDownload  
//News
function render_news($subject, $news, $info) {

global $locale, $aidlink, $user_data;

      echo "<table cellpadding='0' cellspacing='0' width='100%' style='margin-top:5px'>n<tr>n";
        echo "<td class='news-capmain'>$subject</td><td class='news-capmainr' width='15'></td>n";
        echo "</tr>n<tr>n";
        echo "<td class='main-body' colspan='2'>";
        echo "<div class='news-poster'>".$locale['global_070']." <a class='news' href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ".$locale['global_071'].showdate("longdate", $info['news_date'])."</div>n";
        echo "".$info['cat_image'].$news."";
        if (!isset($_GET['readmore']) && $info['news_ext'] == "y") { echo " <br /><img src='".THEME."images/readmore.gif' alt='' style='vertical-align:middle;border:0px;' /> <a href='news.php?readmore=".$info['news_id']."'><strong>".$locale['global_072']."</strong></a>";}
        echo "</td>n";
        echo "</tr>n<tr>n";
        echo "<td class='news-footer' colspan='2'>n";
          if ($info['news_allow_comments']) { echo " <!-- <img src='".THEME."images/comments.gif' alt='' style='vertical-align:middle;border:0px;' /> <a class='news' href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].($info['news_comments'] == 1 ? $locale['global_073b'] : $locale['global_073'])."</a> -->";}
         
//echo " [<a class='news' href='print.php?type=N&amp;item_id=".$info['news_id']."'>".$locale['global_075']."</a>]";
//         if (iADMIN && checkrights("N")) { echo " [<a class='news' href='".ADMIN."news.php".$aidlink."&amp;action=edit&amp;news_id=".$info
//['news_id']."'>".$locale['global_076']."</a>]n"; }
//TESTTEST
 ".newsopts($info, THEME_BULLET).itemoptions("N",$info['news_id'])."</td>n";
        echo "</tr>n";
        echo "</table>n";
}

unecpected error in line:
CodeDownload  
 ".newsopts($info, THEME_BULLET).itemoptions("N",$info['news_id'])."</td>n";

Guyz, I advice you to use some Text Pasting services(pastebin) for sharing Files and Long Codes because the Forums are giving problems with the backslashes. Also, use it without syntax highlighter because it has problem even on pastebin.

And the Line should be :

//TESTTEST
echo "".newsopts($info, THEME_BULLET).itemoptions("N",$info['news_id'])."</td>n";

(put a backslash before the n in the last)
aha!, that's why suddenly everywhere n's appear:P

Merged on May 08 2011 at 22:19:24:
Ok, but when will it be solved, because this topic doesn't give me the sollution i need, while I feel so close to it and I sense lippke really want to help....
Just replace

echo "$news";

with

echo $info['cat_image'].$news;
got it with code of lippke! (had to put all in and removed some n's)

thanks :D
Your welcome :)
Thread Information
Author
Posted In
Replies
13 posts
Views
3,454 times
Last Post
Last updated on 10 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: Martijn78, Craig, gh0st2k, Lippke, Ankur