871
iHackCode
Re: Spotlight view on Xoops.org

-
i did what XMD said and the stuff below.
in xmspotlight_block_news.php
i added
if(!in_array($article2->storyid(),$txt)){
            
$news2['newstitle'] = "<a href="".XOOPS_URL."/modules/news/article.php?storyid=".$article2->storyid()."">".$article2->title()."</a>";
            
$news2['storyid'] = $article2->storyid();
            [
color=CC0000]$news2['posttime'] = formatTimestamp($article2->published(),$dateformat);[/color]
            
$xt = new XoopsTopic($xoopsDB->prefix('topics'), $article2->topicid());
            
$block['image1'] = $xt->topic_imgurl("S");
            
$block['imgpath1'] = XOOPS_URL."/modules/news/images/topics/";
            
$block['category1'] = $xt->topic_title();
            
$block['stories2'][] = $news2;


i did that for $news3 and $news4 and $news5

. for news_block_xmspotlight.html
i added
<{$news2.posttime}> or <{$news3.posttime}> or <{$news4.posttime}> or <{$news5.posttime}>

to the template.

example:
<td><img src="<{$block.imgpath1}>/<{$block.image1}>" align="left" style="margin: 8px;"><{foreach item=news2 from=$block.stories2}><li><a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$news2.storyid}>"><{$news2.newstitle}></a>&nbsp;&nbsp;(<{$news2.posttime}>) </li><br><br><{/foreach}></td>


that should make the date display properly in the other boxes
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧



872
iHackCode
Re: is CBB Version 2.32 no "Qoute" button ?

i dont use CBB Version 2.32 But i think i heard that quote button was taken out and put in the post reply area
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧



873
iHackCode
Re: CBB 1.16 can't change forum view

are you using mod_rewrite?
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧



874
iHackCode
Re: cbb 1.14 cant change view

oops wrong thread
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧



875
iHackCode
Re: userinfo invisible to anonymous visitors

i saw this in the FAQ.
Can I stop guests from viewing registered user profiles?

Quote:
Yes, open the userinfo.php file and find

$xoopsOption['pagetype'] = 'user';
include 
'mainfile.php';
include_once 
XOOPS_ROOT_PATH.'/class/module.textsanitizer.php';


Then add a line with this code below that:

$xoopsUser or redirect_header('index.php'3_NOPERM);


CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧



876
iHackCode
Re: Smilies

in your style.css file i see that it has.

.itemBody img
{
    
margin5px;
    
border1px solid #000000;
}


border: 1px solid #000000; is creating a border around the image. but im not exactly sure how the theme will look when it is taken out.
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧



877
iHackCode
Re: Why am I being redirected here?

Quote:

theprof wrote:
Delete the cookies?

Please clarify..


The Cookies On Your Computer.. From The Site??
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧



878
iHackCode
Re: Why am I being redirected here?

Delete the cookies?
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧



879
iHackCode
Re: Admin Address

Quote:

bluenova wrote:
You don't have to login to admin, you just need the right permissions as a user. So after you login to:
www.moonlightmechanics.com/home/user.php
and then goto:
www.moonlightmechanics.com/home/admin.php
it says you don't have permission?

If that is the case you will need to give yourself admin access in the database, but it's not possible to remove admin permissions from the 1st user created when installing xoops, so I think there is somthing else going on here.

:EDIT:
As Bandid just said, you don't have your address set correctly, go into mainfile.php and change the url from
http://moonlightmechanics.com/home
to
http://www.moonlightmechanics.com/home

Otherwise you will have cookie problems, and every time you login it will log you out again. (trust me, had it many times )


i Agree

bluenova got this thread covered
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧



880
iHackCode
Re: How to remove some modules in the user profile?

edit the system template data :system_userinfo.html

i think the section that needs to be edited is:
<!-- start module search results loop -->
<{foreach 
item=module from=$modules}>

<
p>
<
h4><{$module.name}></h4>

  <!-- 
start results item loop -->
  <{foreach 
item=result from=$module.results}>

  <
img src="<{$result.image}>" alt="<{$module.name}>" /><b><a href="<{$result.link}>"><{$result.title}></a></b><br /><small>(<{$result.time}>)</small><br />

  <{/foreach}>
  <!-- 
end results item loop -->

<{
$module.showall_link}>
</
p>

<{/foreach}>
<!-- 
end module search results loop -->


but i dont know how to edit it. sry
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧




TopTop
« 1 ... 85 86 87 (88) 89 90 91 ... 93 »



Login

Who's Online

223 user(s) are online (146 user(s) are browsing Support Forums)


Members: 0


Guests: 223


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits