uCoz Community » uCoz Modules » Additional Features » Informers (help on informers, interesting solutions)
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.
Sunny
Posts: 9296
Reputation: 456

Message # 136 | 8:25 AM
lochy, $message$ of an informer is not equivalent to $message$ of an entry, as far as I remember it shows the info from brief description.
I'm not active on the forum anymore. Please contact other forum staff.
lochy
Posts: 16
Reputation: -4

Message # 137 | 10:01 PM
i want to have an informer that shows all the articles my users post ( i am using the publisher module for this ). I would like to know what code id have to put in the informer to do this

Code
<table width="100%">
<td width="40" align="center" valign="middle">
<img src="$image url?$" width="30"></td><td width="50%" align="center" valign="middle"><a href="$PROFILE_URL$">$USERNAME$</a></td><td width="50%" align="left" valign="middle"><b>$What Code?$</b> msg(s)</td></table>

i need to know the image url because they have to add a photo to their article.
i need to know what code to put there so that it shows publisher articles.

Added (2009-11-15, 4:01 Pm)
---------------------------------------------
what is the image code for the informer?

i want my informer to place only the picture on the home page

BDGC

Duke8954
Posts: 13
Reputation: 0

Message # 138 | 10:02 AM
thanks to you all. i'm having no problem at all with running my site now. but one question came up. can I create an informer for one category i created in the news module?
Sunny
Posts: 9296
Reputation: 456

Message # 139 | 11:48 AM
lochy, all informer codes can be seen under the corresponding template. Image codes are $IMG_URL1..10$

Duke8954, yes, find List of category IDs: under Additional options when creating an informer.


I'm not active on the forum anymore. Please contact other forum staff.
Core
Posts: 2
Reputation: 0

Message # 140 | 3:49 PM
Not sure if this is a bug or an oversight on my part, but the (3D) smilies don't seem to work in the message part of informers. They appear as a red cross in a white box.

Even though they work fine in both the tag board (which uses the same div class ("cMessage") to display the message part of the chat) and the message being informed of.

Its entry's background will also overlap with the next entry's background, and if at the end of the table, it will screw up the next block/module following the informer.

Another thing is the apostrophe sign ' which is being displayed in html code in the informer message, something like:

Code
& # 3 9

I added spaces between the characters to bypass automatic convertion by the forum to a straight quote mark.

Does anyone else have these issues or did i miss something?

ps: the informer I'm talking about was the comments informer.

lochy
Posts: 16
Reputation: -4

Message # 141 | 3:51 AM
is there anyway to have an informer tell me how much has been donated to me and who is the top donator
Sunny
Posts: 9296
Reputation: 456

Message # 142 | 11:53 AM
Core, 3D smilies must work fine, at least I do not have any problems with them in informers. The same concerns the apostrophe sign. As for background - be more specific please and provide a screenshot.

lochy, using standard uCoz informers? No, not possible.


I'm not active on the forum anymore. Please contact other forum staff.
lochy
Posts: 16
Reputation: -4

Message # 143 | 10:06 PM
i am making a headline box. is there anyway to have each article displayed on the next slide?

BDGC

Sunny
Posts: 9296
Reputation: 456

Message # 144 | 8:46 AM
lochy, please be more specific. What informer do you want to create? You want each article in a new line?
I'm not active on the forum anymore. Please contact other forum staff.
Core
Posts: 2
Reputation: 0

Message # 145 | 12:27 PM
Sunny, see the comments section in the second container on this page:

http://ecoop.ucoz.com (using doctype XHTML 1.0, browser: IE 8 & Chrome)

Shows both the smiley error and the merging backgrounds. Could this be a template issue?

About the apostrophe, i suspect it happens because the maximum message length doesn't take into account an apostrophe as one characther but rather as the apostrophe html code i mentioned above. So, if for example you set the max length on 25 and the apostrophe code, which consists of 4 characters, starts at 23 and ends at 26, you'll not see the apostrophe, but rather the first three characters of the apostrophe code. This will probably be true for other special html characters that are encoded indirectly.

ps: is text selection by mouse disabled in this forum? Couldn't select my own text while I was typing this reply.

Sunny
Posts: 9296
Reputation: 456

Message # 146 | 1:26 PM
Core, yes, I can't see the smiley as well. In IE, Opera and Chrome it is a broken image icon, and in Firefox nothing. I tested the same template on the same server and there were no problems. Probably you are right and the problems are caused by the max length you set. Try to add a comment with a smiley at the beginning.

Quote (Core)
is text selection by mouse disabled in this forum?

No. Everything works fine.


I'm not active on the forum anymore. Please contact other forum staff.
lochy
Posts: 16
Reputation: -4

Message # 147 | 6:48 PM
i have a news slideshow, and its a timed slideshow so i was wondering if i can make the informer only show 1 article, then when the slide changes i want it to show the next article. is this possible with using only 1 informer?
FaeRs
Posts: 6
Reputation: -1

Message # 148 | 2:55 PM
how come my informer dont work even if i have set everything thats posibul to allow for guest (it says guest cant see it)
Sunny
Posts: 9296
Reputation: 456

Message # 149 | 10:53 AM
lochy, as far as understand your question - it is not possible with the help of standard means.

FaeRs, did you check permissions for categories? What informer are you trying to use, of which module?


I'm not active on the forum anymore. Please contact other forum staff.
drunkenbird
Posts: 28
Reputation: 0

Message # 150 | 8:50 PM
File Catalog Informer

I can't find the possibility to Sort the Entries by Edit Date. Should there be one? If not, i think this would be a good & easy thing to add...

uCoz Community » uCoz Modules » Additional Features » Informers (help on informers, interesting solutions)
Search: