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.
Bengaltiger
Posts: 57
Reputation: 1

Message # 91 | 12:37 PM
thanx sunny.
but show me how i hav to edit it..coz i didnt get u clearly
giv me da code which1 i hav to edit....den i can fine it easily...
Quote (Sunny)
Comments don't have titles.

i meant dis title..luk at dis picture...so dat u can understand wat i meant-->

thank you happy

Attachments: 9234790.jpg (37.0 Kb)
Sunny
Posts: 9296
Reputation: 456

Message # 92 | 8:38 AM
Bengaltiger, I probably missed this thread.

Ok, not only comments have this class - cMessage - so do the following: go to informer template, find the following line, and change cMessage into cMessage1

Quote
<div class="cMessage1">$MESSAGE$</div>

Then go to CP -> Customize Design -> CSS -> find /* Comments Style */ and add the following below:

Quote
.cMessage1 {font-size:9pt;}
- you can change 9 into any other size, it's just an example.

As for titles - as you can see there is no such feature. It might be possible by means of coding but I can't help you.


I'm not active on the forum anymore. Please contact other forum staff.
Bengaltiger
Posts: 57
Reputation: 1

Message # 93 | 8:59 PM
ok i did wat u said abt messaging..its working but not properly wat i want
i want to show every size of msgs dat i chose.
but when pplz r giving comments according to der size..it showing lyk dat..but dat size is not luking lyk my setting

n i hav another question..how can i change da backgroud color of msg???? biggrin

Quote (Sunny)
As for titles - as you can see there is no such feature. It might be possible by means of coding but I can't help you.

i also thought dat der might be sum code..dats y i asked from u

if its possible den its gonne be Rock!!!

Sunny
Posts: 9296
Reputation: 456

Message # 94 | 10:24 AM
Quote (Bengaltiger)
i want to show every size of msgs dat i chose.
but when pplz r giving comments according to der size..it showing lyk dat..but dat size is not luking lyk my setting

I think coding knowledge will help. The same concerns background - I advise you to learn basics of HTML and CSS and you will be able to do it yourself.


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

Message # 95 | 5:57 PM
Boss I want Something like this!!

Top Contributors:
1 Adminstrator 240
2 Member 1 26
3 Member 2 23

and so on!!

Articles:
This Hour: 0
Today: 27
This Month: 225
All Time: 301

Membership:
Registered Today :1
This Hour:0
This Month:42
Total:50
Banned:0

Online Users: 2
User: 0
No online

Robot: 1
Googlebot

Guest: 1

Visit
Today Visits: 181
This Week Visits: 1703
This Month Visits: 5009
This Year Visits: 14970
All Visits: 14970
Record: 1051 In 12.08.2009

Can any one give me a detailed instructions on how to get these kinda things???

I am not using forum module!!

Post edited by SHK9330 - Thursday, 2009-08-13, 6:03 PM
Armaros
Posts: 1424

Message # 96 | 6:05 PM
SHK9330, you can't make so detailed.
Levi07
Posts: 5
Reputation: 0

Message # 97 | 2:13 PM
I dont know if this has already been asked..but i have created informers to show new members of site.. i dont know much about HTML and coding..i have placed my informers on my side bar..how do i go about putting a title to it and adding the new members avatars?
Dartz
Posts: 1931

Message # 98 | 2:45 PM
Quote (Levi07)
I dont know if this has already been asked..but i have created informers to show new members of site.. i dont know much about HTML and coding..i have placed my informers on my side bar..how do i go about putting a title to it and adding the new members avatars?
Check uCoz codes in Customize Design and you'll find avatar code.
As for title, what title? Blocks title? Try to be a bit more specific.

[... With uCoz since December 2 2007 ...]
Levi07
Posts: 5
Reputation: 0

Message # 99 | 3:15 PM
DArtz, yez..block titles..sowee.. sad

Added (2009-09-01, 9:15 Am)
---------------------------------------------
I got the code for the avatar..however, how do i combine all codes to show on my side bar? the informer, avatar, and block title?

Dartz
Posts: 1931

Message # 100 | 11:32 PM
It's up for your coding knowledge.
[... With uCoz since December 2 2007 ...]
Leekinz
Posts: 36
Reputation: 2

Message # 101 | 9:28 AM
Levi07, Well no offence but you should learn before trying to edit anything because you make it harder for us cause we have to explain it out for you.
There was once a man named Lee. He used to love taking a ***, then he found THIS!
CodeResolution
Posts: 1570
Reputation: 58

Message # 102 | 11:36 AM
Sorry if this has been asked before but I cannot find it.

Is it possible to limit the text in the informer?
If so, how please?


Kind regards,
Elliott.

"The best uCoz" critic since 2007.
Qualified website, branding, print & user interface designer.

I'm on Behance and Twitter.
Tommy
Posts: 454
Reputation: 38

Message # 103 | 11:39 AM
Mistory,

Did you check the additional options on informer that you made?


"I don't like to commit myself about heaven and hell - you see, I have friends in both places"
Flipperbear404
Posts: 12
Reputation: 0

Message # 104 | 10:43 AM
How come when ever i try to add the most popular threads Informer on my homepage it says "Guests" are not permitted to view the module even when im logged in and i tryed another informer and it worked just fine
Sunny
Posts: 9296
Reputation: 456

Message # 105 | 10:51 AM
Flipperbear404, it would be great if you bothered to read this thread, not only post - http://forum.ucoz.com/forum/37-457-28687-16-1240554820
I'm not active on the forum anymore. Please contact other forum staff.
Search: