uCoz Community uCoz Modules Additional Features Informers (help on informers, interesting solutions) |
Informers |
# 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$ 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? *** *** *** *** *** *** I'm not active on the forum anymore. Please contact other forum staff.
|
t4club,
uCoz have the informers set up so that everyone can see them unless you code it so that they can't. If you are only wanting certain groups (meaning mods & admin ect.) to have access to informers I'd advise to use conditional operators. If you are aiming to prevent only guests from viewing content that the informers output use the method that Blazer has stated above as it is quicker and will straight out prevent them from viewing the content. Hope this helps, Jack of all trades in development, design, strategy.
Working as a Support Engineer. Been here for 13 years and counting. |
I think it does not sure yet need to poverbially fiddle [thats when i get into trouble though which is why i try to fully undertsand first thanks for your assistance appriciated....
All i want is that a lot of what i set informers to output is NOT for guests to view? therefore if i set guests permissions in permissions settings surely that will prevent it thus only allowing very limited access as the idea is it not to get guests to register to see more? [As a side i still cant seem to sort out how to limit forum posts to be that the more someone posts the more forum access they gain but thats something else all together and for elsewhere, if anyone knows exactrly pm me so as not to upset this thread thanks, only mentioned as its about the same vain as whats being discussed here :D] Anyway i have just 5 mins ago purchased the UCOZ textbook so hopefully it may expalin some of these things ..... VW T4 - T5 Transporter community website and forum group at www.t4club.co.uk
|
Loz,
Quote (Loz) But i'd still like an idea of the 'amount of time' if possible - i.e. 5mins, 15mins, 1hr, 5hr or 1 day etc Informer template updates each 15 minutes. t4club, Informers output only those entries that can be viewed by Guests. If you want to output entries that can't be viewed by Guests, I suggest you use conditional operators to hide the entries first and then the output information. Quote (t4club) cant seem to sort out how to limit forum posts to be that the more someone posts the more forum access they gain but thats I suggest you use auto-transfer feature. If you go to CP->Users » User groups » Auto-transfer, you way set the number of forum entries a User needs to have to be auto-transferred to Checked group (group with higher permissions) |
Natashko,
Thx for response (Award given - for all your help today) |
Ok guys excuse second post, but you have locked my original post on this so have no options but to post again?
Anyway have now purchased the Ucoz Book, read the entire chapter several times, and re-read this part of forum i.e. informers and i am still not getting it on my test page i can get informers to output images from my albums JUST NOT THE REQUIRED SPECIFIC ALBUMS required for the new informers... Briefly what i am attempting to do is thus: I have combined 3 seperate sites in one site at www.t4club.ucoz.net/ where i have mastered thr informers to output seperate forums information by inputing the ID's there of to enable this to happen but it just will not do it with the images WHY what am i dont wrong.... Could someone list what i am supposed to be doing to get this to opeate as at www.t4club.ucoz.net/index/0-55 [my test page] you will see if scrolling to the bottom the images informers are all differently named yet ourputting the same information/images as each other [my main image folder T4 readers rides, T5 readers rides etc is where images are coming from not the specific ones i require ie AS Images, Camping Club Images etc so in erasy to undersatnd way can anyone help me to sort this out please... Need prefferably a screen shoot of a image album and one of the relative informer steps to get it to output WHEN its already doing so for others in list cant understand what i am doing wrong .... Please help its driving me more bonkers .... Alternatively a couple of informers that do works settings so i can try them where several seperate albums are being used in different informers possibly might be earier Many thx in anticipation of sensible replies .. Dougie VW T4 - T5 Transporter community website and forum group at www.t4club.co.uk
|
is there a way to use the $NUM_ENTRIES$ function on a main page that will show multiple $NUM_ENTRIES$ for different pages.
Please have a look at http://ash-vc-garage.ucoz.net/ to get an idea of what I want it for. I do not wish to use the sidebar function, this is also for the HTML Editor. Thanks for your help and replies. |
ALMOST610, Go to CP->Tools->Informer->Create Informer->Sections: Per module entry counters->Create->click "Customize informer design"->edit the Informer the way you want it to output entries and Save. Use the informer code (looks like $MYINF_7$) to embed it into the template of the website where you want the Informer to appear.
|
Hello, i am using Informers to Display the latest mod Uploads,
Code <table border="0" cellpadding="2" cellspacing="1" width="100%" class="infTable"><tr><td width="50%" style="font:7pt">[$DATE$]</td><?if($CATEGORY_NAME$)?><a href=""></a><?endif?></td></tr><tr><td class="infTitle" colspan="2"><a href="$ENTRY_URL$">$TITLE$</a> <span title="Comments"><a href=""><b></b></a></span></td></tr></table> But when a new files is submitted for that category the Informer does not Automatically update its Information. Also how can I make it so it only displays the Name of the new file. I have tried with the order by Date and it displays the newest file at the time of the Informer being created, please Help. |
ALMOST610,
Quote (ALMOST610) But when a new files is submitted for that category the Informer does not Automatically update its Information Informer template updates each 15 minutes. Quote (ALMOST610) Also how can I make it so it only displays the Name of the new file. It can be set in CP->Tools->Informers->Customize informer design |
Thanks alot, just what I was looking for.
Added (2011-07-03, 11:31 PM) --------------------------------------------- Double Post, I could not get the Informers to work for the Number Function and have used them all (30 of them) for a Function that displays the Categories Latest File, is there a way using this code Code <td width="60%"><!--<s5222>-->Entries in category<!--</s>-->: <b>$NUM_ENTRIES$</b> Can it be modified to something like, $NUM_ENTRIES$ if CATEGORY = 5, 5 being an example of the Category ID, I would think that something like this should be possible. Please Help, and No replies saying use Informers they have been all used. EDIT: I gave this code a try but nothing shows up, I'll keep tinkering please help. Code <?if($ID$='9')?> $NUM_ENTRIES$ <?endif?> Code <?if($CID$='9')?> $NUM_ENTRIES$ <?endif?> Figured that code wont work as it says IF the CID = 9, I want to tell it that the CID for that NUM ENTRIES Post edited by ALMOST610 - Monday, 2011-07-04, 8:43 AM
|
I gave what you said a Try and it did not work, please note that this is the Main Page for the File Manager I am working on http://Ash-vc-garage.ucoz.net/load you will notice that all the categories have a number of Mods they are set manually except for 1 which I am trying to automate so then I know how to get the rest done.
I am sure that the IF code wont work as it says IF the CAT_NAME is ... then do that, when I want to say WHEN the CAT_NAME = .... do That. |
ALMOST610, Suggestion 1. Use code
Code $CATEGORIES$ Suggestion 2. Use Informer: Section: File catalog, Data type: Categories. Use conditional operators in the template of this Informer. |
| |||