 |
 |
 |
 |
 |
| Author |
Message |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2683 Location: Germany |
|
|
|
 |  | You wrote about str_replace() function, but I have no idea on how and where to use it. |
In the plugin change this:
 |  | echo $output; |
to this:
 |  | echo str_replace("\", "", $output); |
|
|
| Fri Jun 06, 2008 2:14 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
Partyism
Joined: 25 Sep 2007 Posts: 186
|
|
|
|
 |  | is it possible to set a ammount of characters?! |
|
|
| Tue Jun 10, 2008 12:20 pm |
|
 |
flyboy17
Joined: 21 Feb 2007 Posts: 47
|
|
|
|
Nice plugin.
However, when i view a newsitem in the future, it will be show to all users.
Is it possible to filter newsitems who are in the future
Something like this:
if ($item['date'] <= time() )?
Thanks!
|
|
| Tue Jun 24, 2008 3:53 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2683 Location: Germany |
|
|
|
You've already found the solution. Now simply apply it to the code. It's easy. 
|
|
| Thu Jun 26, 2008 5:34 pm |
|
 |
webbber
Joined: 15 May 2008 Posts: 46
|
|
|
|
I get nothing. I have installed via admin cpanel, but when I add this:
 |  | <p align="right">
<?=show_last_viewed(); ?>
</p> |
I get nothing, just
 |  | <p align="right">
</p> |
Out of ideas.
any of You ?
regards
|
|
| Fri Aug 15, 2008 12:59 am |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2683 Location: Germany |
|
|
|
Did you include head.php on that page?
|
|
| Tue Aug 19, 2008 6:12 pm |
|
 |
webbber
Joined: 15 May 2008 Posts: 46
|
|
|
|
It works now, just a cache issue.
How can I turn cache off? I mean, after a change no need no delete it everytime.
|
|
| Thu Aug 21, 2008 5:18 pm |
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2683 Location: Germany |
|
|
|
You can turn off cache in head.php:
 |  | define('cache', true); |
Set it to false:
 |  | define('cache', false); |
|
|
| Sat Aug 23, 2008 10:08 am |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|
 |
 |
 |
|