Informers
Sunny
Posts: 9296
Reputation: 456

Message # 1 | 10:09 AM
# Informer Samples #

Informers serve to display entries of particular modules on any pages of any sites. For example, you can output the latest forum threads or most commented photos right on the main page. This helps to make your site more interesting and handy for the visitors.

To create an Informer:

1. Go to Informers section on the main page of the Control Panel.

2. Press Create informer.

3. Select necessary module in the field with the pop-down list. (Additional options will appear depending on a module).

4. Set parameters of the options Number of entries and Number of columns.

5. Press Create.

6. Insert the obtained code of the type

Code
$MYINF_id$
where you need.

7. Informer appearance and the information for output can be edited in informer template. Type of information (uCoz codes) depends on the source module. List of codes, available for a certain informer, is under the form for editing template.

With the help of the informer, you can output information both on pages of your website and on any other site in the internet.

There are no explanations for the codes, used in informer template. This is because informers are a serious thing and you should not edit informers without good knowledge of HTML and uCoz system.



Question-answer

Where should I put the code of informer?
Control Panel -> Design -> Design management(templates).

***
How can I find out ID of an entry?
View list of entries or categories and you’ll find their IDs.

***
Is it possible to output entries in random order?
Yes, when you select a type of entries sorting you can choose the item "In random order".

***
Is it possible to make $ID$ code in the informer with Photo Album, because photos often have no names?
Do not output a name at all.

***
How can I output an image, belonging to the news entry, in the informer?
Edit informer template and insert a variable that will display the image.

***
Is it possible not to output in the news informer the news entries that are on the main page?
No.

***
Is it possible to do the following: the informer starts to count users’ messages form a certain time and does not take into account earlier messages?
No.


I'm not active on the forum anymore. Please contact other forum staff.
Natashko
Posts: 3366
Reputation: 171

Message # 286 | 1:52 PM
IoCiScommetto, it will change in 15 minutes only, because Informer templates updates each 15 minutes. So if it is changed in the module itself, it will change in the Informer in 15 minutes.
Dangem
Posts: 54
Reputation: 0

Message # 287 | 5:03 AM
admin my informer in top 10 poster is not working please visit here http://pinoykaizen.ucoz.com
Natashko
Posts: 3366
Reputation: 171

Message # 288 | 1:22 PM
Dangem,
Quote (Dangem)
admin my informer in top 10 poster is not working please visit here http://pinoykaizen.ucoz.com

I did visit. and this is what I saw Is the problem still topical? If it is, elaborate.
Attachments: 3818535.png (43.2 Kb)
Dangem
Posts: 54
Reputation: 0

Message # 289 | 1:29 PM
thanks admin its working now but its kinda delay..
Natashko
Posts: 3366
Reputation: 171

Message # 290 | 1:47 PM
Dangem, Informer template updates each 15 minutes.
Dangem
Posts: 54
Reputation: 0

Message # 291 | 2:46 PM
aw thank you for that info admin!! thanks !!!
wishdropper
Posts: 7
Reputation: 0

Message # 292 | 4:51 PM
I'm trying to make informer to show last added entries with images and my final result is this:

<table border="0" cellpadding="0" cellspacing="0" width="100%" class="infTable"><tr><td style="text-align:center;"><a href="$ENTRY_URL$"><img src="$FULL_PHOTO_DIRECT_URL$" width="120" height="170"> </a><br /><a href="$ENTRY_URL$">$TITLE$</a><br />[<a href="$CATEGORY_URL$">$CATEGORY_NAME$</a>]</td></tr><tr><td style="text-align:left;"></td></tr></table>

This is how it looks http://store.picbg.net/pubpic/52/83/0a0e9eaa5f375283.gif
It's working but still no images are displaying.Like i need just one more correction to make it.If anybody know how...?

Jan
Posts: 301
Reputation: 19

Message # 293 | 6:40 AM
wishdropper, what module you want to show those latest entries.
(try to use : $IMG_URL1..10$ or $IMG_SMALL_URL1..10$)

wishdropper
Posts: 7
Reputation: 0

Message # 294 | 8:08 AM
Quote
(try to use : $IMG_URL1..10$ or $IMG_SMALL_URL1..10$)

I,ve try it before but doesn't work.
Loz
Posts: 70
Reputation: 1

Message # 295 | 0:04 AM
Quote (Kron_old)
- Informers (as well as RSS-import and Tag Board) work so that not to create additional load on the server, the data are cached and refreshed after a time or at some changes on the site


Can someone please explain exactly how this works and the timeframe/ delays involved.

The reason I'm asking is because I logged out and closed down my browser and then logged in - to find that the results of the informer had not yet been updated.

Thanks

Blazer
Posts: 310
Reputation: 25

Message # 296 | 0:08 AM
Loz, i think it takes some time to refresh
Quote (Kron_old)
refreshed after a time

If i helped you + My Reputation and Give me an Award.
Post edited by Blazer - Friday, 2011-05-27, 0:16 AM
Loz
Posts: 70
Reputation: 1

Message # 297 | 0:14 AM
Yes thanks i was mistakenly expecting it to 'refresh' on the frontend after a certain amount of time rather than be a backend (server) refreshing process).

But i'd still like an idea of the 'amount of time' if possible - i.e. 5mins, 15mins, 1hr, 5hr or 1 day etc

Blazer
Posts: 310
Reputation: 25

Message # 298 | 0:19 AM
Loz,i dont really know about time set.
If i helped you + My Reputation and Give me an Award.
Post edited by Blazer - Friday, 2011-05-27, 11:57 AM
t4club
Posts: 74
Reputation: 0

Message # 299 | 11:54 AM
Hi there can anyone explain why i cant use informers to exibit to ONLY registered members & Admins as why would i want NON REISTERED I.E. GUESTS to be able to gain access to inportant forum posts, details of what were doing or other information,files or images that the system has set for them not to see by virtue of the group being guests, surely that has to be backwards as most surely will have their guests set at lowest amount of access????? or have i as usual missed something

Could someone in teh know please explain so myself and i am sure others might explain Ucoz's idea on this and why as yet i have been unable to find out how to make it ONLY mod, members & admins that have access rights to informers

Many thx biggrin

VW T4 - T5 Transporter community website and forum group at www.t4club.co.uk
Blazer
Posts: 310
Reputation: 25

Message # 300 | 11:59 AM
t4club, Edit User permissions. CP»Users»User Groups ... is this what you wanted to know ?
If i helped you + My Reputation and Give me an Award.
Search: