Members: 16,996
Threads: 38,845
Posts: 159,389
Online: 23

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 28.04.2004, 14:36   #1 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 14
chrixo is on a distinguished road
Default Events : come auto pubblicare un evento?

Ho bisogno che il componente Events pubblichi automaticamente un evento aggiunto dall' Editor senza che ogni volta debba accettarla dal pannello di amministrazione.

Come si può fare?

thank's

chrixo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 28.04.2004, 15:32   #2 (permalink)
Elite Mamber
 
andreadesign's Avatar
 
Join Date: Apr 2004
Location: Milan, Italy
Posts: 2,041
andreadesign is on a distinguished road
Default Re: Events : come auto pubblicare un evento?

mi sa che si deve modificare il componente perchè
attualmente non è possibile, sarebbe stato interessante
che almeno il publisher o l'amministratore potessero
pubblicare gli eventi dal frontend... mah, speriamo in una
prossima release
andreadesign is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 29.04.2004, 11:43   #3 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 14
chrixo is on a distinguished road
Default Re: Events : come auto pubblicare un evento?

Ho risolto:
in components\com_events

in events.html.php dalla riga 511 alla 520
ho sostituito:

<?php if ($row->id) { ?>
<tr>
<td width="120" align="left">
<b><?php echo _E_PUBLISHING;?></b>
</td>
<td><?php echo $lists['state'];?></td>
</tr>
<?php } else { ?>
<input type="hidden" name="state" value="<?php echo $row->state;?>" />
<?php } ?>

con:

<tr>
<td width="120" align="left">
<b><?php echo _E_PUBLISHING;?></b>
</td>
<td><?php echo $lists['state'];?></td>
</tr>


e poi in events.php alla riga 1379
ho sostituito:

$lists ="";

con:

$lists['state'] = mosHTML::yesnoSelectList( 'state', 'size="1" class="inputbox"', $row->state=1 );

In modo che l'Editor possa scegliere o no se pubblicare automaticamente
l'evento.

bye bye

Christian
chrixo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 29.04.2004, 13:22   #4 (permalink)
Elite Mamber
 
andreadesign's Avatar
 
Join Date: Apr 2004
Location: Milan, Italy
Posts: 2,041
andreadesign is on a distinguished road
Default Re: Events : come auto pubblicare un evento?

fantastico!!
se fai un bel pacchettino del modulo così modificato potremmo metterlo
in condivisione al mondo intero su mamboserver.it...

mandamelo via mail

grande!!
andreadesign is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 29.04.2004, 13:47   #5 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 14
chrixo is on a distinguished road
Default Re: Events : come auto pubblicare un evento?

Ok te lo mando al + presto.
L'unico problema è che se si abilita l'invio di eventi anche da parte dei semplici registrati anche questi potranno scegliere se pubblicare automaticamente un evento bypassando l'amministratore.

P.S.: ho fatto in modo che anche il Publisher possa immettere nuovi eventi.
chrixo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 29.04.2004, 15:08   #6 (permalink)
Elite Mamber
 
andreadesign's Avatar
 
Join Date: Apr 2004
Location: Milan, Italy
Posts: 2,041
andreadesign is on a distinguished road
Default Re: Events : come auto pubblicare un evento?

bhè ma gli eventi li possono inserire solo dagli editor in sù no?
andreadesign is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 29.04.2004, 17:34   #7 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 14
chrixo is on a distinguished road
Talking Re: Events : come auto pubblicare un evento?

Se in configurazione metti su "tipo di amministrazione" "Poster user" anche gli utenti registrati possono inviare eventi ma in questo modo sono loro a scegliere se pubblicarli o no. L'amministratore può poi cmq cancellare a piacimento.
Se non si vogliono invii da parte dei registrati si blocca su "editor" o "publisher" e non ci sono problemi.
chrixo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Latest Events module - are there Parameters that allow you to customize its output jabby Module 'How Do I' Questions 8 11.09.2004 23:40
Events Component -> Allow Unregistered users to Add events blackhat Component 'How Do I' Questions 0 24.04.2004 14:28
Events Component -> upgraded to RC5e & now unable to view categories mamboservice Component 'How Do I' Questions 0 22.04.2004 02:39
add new event and submit news - immposible and bug in Events fenix Component Development 4 16.04.2004 13:22
updaet events from 5a to 5e doggystyle Component Development 0 09.04.2004 18:26


All times are GMT +2. The time now is 04:48.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.