Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - CodeMan

Pages: [1] 2 3
1
Rembrandt,

excellent work again!
The second variation of the MOD is also working fine!
Works fine for homepage, categoriepage and random_image (...not working for postcard_create, postcard_preview and other pages).
As I tried to explain in my previous post, it would be great to use a short image description on ANY page you like.

Allow me to ask you again...

My goal was to be able to place a short image description on any page I want (except detail.html).
Something similar as in the MOD http://www.4homepages.de/forum/index.php?topic=25981.0 where {cat_description_short} and {image_name_short} are used.

Hope you can understand that this MOD can be fantstic when the short image description can be placed on any page you like.

Thanks again!

2
Rembrandt,

thanks for this great MOD, it works fine.

I tried to place {image_description} on the Random_image.html, but here the description was not shortened.

How can I use the SHORT {image_description} on the random_image.html or maybe on other pages like postcard, etc.?

Thanks!

3
V@no,

Can this also be done for image description?

Thanks!

4
Hello,

On the detail.html there is the (long) description of the images.
is it possible to make the description of an image shorter an show it on the index.php?
For example a description of 20 caracters instead of the whole description.

Thanks.

5
Mods & Plugins (Releases & Support) / Re: [MOD] Flash Tag Cloud ?
« on: April 16, 2013, 09:25:56 PM »
Hello,


Does anyone know how to apply colors to the tags in the flash cloud?
Would be very nice if it's possible.


Thanks!

6
Hello,

nice MOD and working great!
currently I'm using the modified MOD for categories as provided by ch€ri{Bi}² (see: http://www.4homepages.de/forum/index.php?topic=16812.15).
Tag cloud is showing (separate) Categories but all in one line.
This way the tag cloud is stretched and my template gets too wide.

How can I show the categories on multiple lines so my template keeps its width?

Thanks!

7
Rembrandt,

thanks for this great tip!

I found that it also works with the origanal code:


//-----------------------------------------------------
//--- Show Categories ---------------------------------
//-----------------------------------------------------
$categories get_categories(0);
if (!
$categories)  {
  
$categories $lang['no_categories'];
}
$site_template->register_vars("categories"$categories);
unset(
$categories);


When the original code is placed as Rembrandt mentioned, you can also use the original {categories} on every page you wish to show categories.

I'm using 4Images 1.7.11

9
No, still not working.
The whole rating sytem is not working anymore.

Bytheway, I hope you understood my explanation about showing the voted image on the home page.
I meant for each image_id, not just one voted image.

But anyway, still not working...

10
MrAndrew,

the AJAX Star rating stopped working after installing this MOD.
Rating is not possible anymore and also no mouse-over-effect.

Furhtermore, in step 4 you mentioned:

4. Step

Open /ajaxrating.php and find:
Code: [Select]
 $rating = intval($HTTP_POST_VARS['rating']);
Add below:
Code: [Select]
 if ($user_info['user_level'] != GUEST) {
    $sql = "SELECT user_id, image_id, vote
            FROM ".VOTED_TABLE."
            WHERE image_id = ".$id." AND user_id = ".$user_info['user_id'];
    $rated = $site_db->query_firstrow($sql);
    $rating = ($rated['vote']) ? $rated['vote'] : $rating;
  }else{
    $rated = FALSE;
  }


In my ajaxrating.php it says $rating = floatval($HTTP_POST_VARS['rating']); and not  $rating = intval($HTTP_POST_VARS['rating']);
I tried both, but not working.

In the attachment I added my 4images tables from phpMyAdmin so you can look at the structure.

Why did the AJAX Star rating stop working?

11
Oke MrAndrew,

The AJAX Star Rating is working again.

I also installed the intsructions from the link you gave earlier: http://www.4homepages.de/forum/index.php?topic=6123.0.
And I installed the "voted_a_install.php" after upload to my the root, which is mentioned in the instructions.
Everyting seems to work oke!

Looking forward to reading your further instructions!

12
MrAndrew,

thanks for offering your help.
Unfortunately, now I have another problem.
After I posted my questions above, I decided to remove this MOD AJAX star rating and so I replaced it with the other MOD Star rating.
Then, when I read your last post I installed the AJAX star rating MOD again.
But now it doesn’t work anymore.
The rating system is visible on my site and the mouse-over-effect is working.

But when clicking on the image to vote, then nothing happens.
No votes are placed, even not when an image was never voted before.
I tried more than once to install it by deleting old files and using fresh files, but no result.
I’m still asking for help, but now first I must get the AJAX rating system work again.

Thanks!

13
MrAndrew,

when someone votes, an image of stars is shown.
This image of stars is the result/score of the voting.

Now, this is image is only shown in the detail.html (where the rating code is located).

But how can I show this image of stars on the index.php?
I want to show just the image (result/score), not the whole rating system on other pages.


In the other MOD (Star rating) it is possible to show the mentioned image by using the code <img src="{template_url}/images/{rating_pic}" width="90" height="21" />.



Thanks.

14
Hi,

I installed this MOD and it seems to work fine.
I was wondering if it's possible to show the result image (which is shown after vote is placed) on other pages.
Now the result image (stars) shows only on the detail.html, but how can I show the image (stars) on other page like Home or in the thumbnail_bit.
Which code should I use?

Thanks!

15
How can statistics and other info be added to the subcategories in the homepage?
I really believe this can be done.
There must be someone who can do this.

(Looks like it's hard to get any reply at all...!?)

Pages: [1] 2 3