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?

Theme request

Asked Modified Viewed 3,849 times
M
Martijn78
M
euhh...
  • Member, joined since
  • Contributed 107 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions
asked
Member

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...
0 replies

12 posts

L
Lippke
L
Lippke 10
- Lippke
  • Member, joined since
  • Contributed 168 posts on the community forums.
  • Started 35 threads in the forums
answered
Member

post it here then I'll do it :D
0 replies
G
gh0st2k
G
Ex Senior Dev.
  • Member, joined since
  • Contributed 131 posts on the community forums.
answered
Member

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."!
0 replies
C
Craig
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
answered
Fusioneer

Quote

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


Post it here and I'll do it for £300 :P
0 replies
A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
answered
Veteran Member

@Craig: L:DL
@martijn: also, there are some little additions which you can find in any core theme of 7.02, say, gillette....
0 replies
M
Martijn78
M
euhh...
  • Member, joined since
  • Contributed 107 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions
answered
Member

Quote

lippke wrote:

post it here then I'll do it :D


thanks, here it is...
//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";
}
0 replies
L
Lippke
L
Lippke 10
- Lippke
  • Member, joined since
  • Contributed 168 posts on the community forums.
  • Started 35 threads in the forums
answered
Member

This should do it :)

//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";
}
0 replies
M
Martijn78
M
euhh...
  • Member, joined since
  • Contributed 107 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions
answered
Member

unecpected error in line:
 ".newsopts($info, THEME_BULLET).itemoptions("N",$info['news_id'])."</td>n";
0 replies
A
Ankur
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums
answered
Veteran Member

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)
0 replies
M
Martijn78
M
euhh...
  • Member, joined since
  • Contributed 107 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions
answered
Member

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....
Edited by Martijn78 on 08-05-2011 21:19,
0 replies
G
gh0st2k
G
Ex Senior Dev.
  • Member, joined since
  • Contributed 131 posts on the community forums.
answered
Member

Just replace

echo "$news";

with

echo $info['cat_image'].$news;
0 replies
M
Martijn78
M
euhh...
  • Member, joined since
  • Contributed 107 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions
answered
Member

got it with code of lippke! (had to put all in and removed some n's)

thanks :D
0 replies
L
Lippke
L
Lippke 10
- Lippke
  • Member, joined since
  • Contributed 168 posts on the community forums.
  • Started 35 threads in the forums
answered
Member

Your welcome :)
0 replies

Category Forum

Themes Support

Labels

None yet

Statistics

  • Views 0 views
  • Posts 12 posts
  • Votes 0 votes
  • Topic users 5 members

5 participants

M
M
euhh...
  • Member, joined since
  • Contributed 107 posts on the community forums.
  • Started 25 threads in the forums
  • Started this discussions
C
C
Craig 14
  • Fusioneer, joined since
  • Contributed 4,462 posts on the community forums.
  • Started 212 threads in the forums
G
G
Ex Senior Dev.
  • Member, joined since
  • Contributed 131 posts on the community forums.
L
L
Lippke 10
- Lippke
  • Member, joined since
  • Contributed 168 posts on the community forums.
  • Started 35 threads in the forums
A
A
Ankur 10
Hi! Its me, Ankur Thakur! smile
  • Veteran Member, joined since
  • Contributed 1,277 posts on the community forums.
  • Started 60 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet