11
nick89
Update deafult templates
  • 2004/9/9 7:03

  • nick89

  • Just popping in

  • Posts: 47

  • Since: 2004/7/9 8


If i edit the deafult templates, how do i get them to update??




12
nick89
Re: VISIBLE BLOCKS HAVE ALL GONE!
  • 2004/8/17 8:20

  • nick89

  • Just popping in

  • Posts: 47

  • Since: 2004/7/9 8


Help!...



13
nick89
VISIBLE BLOCKS HAVE ALL GONE!
  • 2004/8/16 2:40

  • nick89

  • Just popping in

  • Posts: 47

  • Since: 2004/7/9 8


All my blocks that were visible have now disappeared! It happened after i editted a banner. Any Help Please!



14
nick89
Re: Truncating text of users news posts
  • 2004/7/24 1:06

  • nick89

  • Just popping in

  • Posts: 47

  • Since: 2004/7/9 8


Here was my solution:
$story = new NewsStory();
    
$story->setTitle($subject);
//EDIT START
    
$story->setBodytext($message);
    
$tc_hack $message;
    
$tc_hack preg_replace('#[(.*?)]#s'''$tc_hack); 
    if(
strlen($tc_hack) < 60){
        
$story->setHometext($tc_hack);
    }else{
        
$story->setHometext(substr($tc_hack,0,30).'...');
    }
//EDIT END
    
$story->setUid($uid);
    
$story->setTopicId($topic_id);
    
$story->setHostname(xoops_getenv('REMOTE_ADDR'));
    
$story->setNohtml($nohtml_db);
    
$nosmiley = isset($nosmiley) ? intval($nosmiley) : 0;
    
$notifypub = isset($notifypub) ? intval($notifypub) : 0;
    
$story->setNosmiley($nosmiley);
    
$story->setNotifyPub($notifypub);
    
$story->setType('user');
    if ( 
$xoopsModuleConfig['autoapprove'] == ) {
        
$approve 1;
        
$story->setApproved($approve);
        
$story->setPublished(time());
        
$story->setExpired(0);
        
$story->setTopicalign('R');
    }
    
$result $story->store();



15
nick89
Re: "Submit News" is missing
  • 2004/7/18 21:37

  • nick89

  • Just popping in

  • Posts: 47

  • Since: 2004/7/9 8


Interesting - you didn't happen to have any 'accidents' with the news modules xoops_version.php ?



16
nick89
Re: PHP and Document Anchors...
  • 2004/7/18 21:36

  • nick89

  • Just popping in

  • Posts: 47

  • Since: 2004/7/9 8


it is if you want an XHTML compliant webpage



17
nick89
Re: Truncating text of users news posts
  • 2004/7/18 21:31

  • nick89

  • Just popping in

  • Posts: 47

  • Since: 2004/7/9 8


Quote:

nick89 wrote:
and does that function ignore formatting when getting a substring?



18
nick89
Re: No login box! - How can I login?
  • 2004/7/18 9:30

  • nick89

  • Just popping in

  • Posts: 47

  • Since: 2004/7/9 8


i get this problem when the deafult theme has no theme.html file in its directory. Could this apply to you?



19
nick89
Re: PHP and Document Anchors...
  • 2004/7/18 9:23

  • nick89

  • Just popping in

  • Posts: 47

  • Since: 2004/7/9 8


let's be compliant now
<a name='t1' />



20
nick89
Re: Security Problem
  • 2004/7/18 9:22

  • nick89

  • Just popping in

  • Posts: 47

  • Since: 2004/7/9 8


I swear its a cookie problem.




TopTop
« 1 (2) 3 4 »



Login

Who's Online

162 user(s) are online (107 user(s) are browsing Support Forums)


Members: 0


Guests: 162


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