Forum Replies Created

Viewing 15 replies - 1 through 15 (of 15 total)
  • Thread Starter Dutch SilverShadow

    (@dutch-silvershadow)

    No haven’t found any solution yet. I guess something is going wrong with the AJAX call but can’t seem to find out where…. The %rating% isn’t refreshed after voting, my vote gets registered, but only after refresh. I think with you maybe the problem may layin the section where the query is made. Have you looked at the caching bug? Or the query thats not being instantiated by the script?

    Thread Starter Dutch SilverShadow

    (@dutch-silvershadow)

    No haven’t found any solution yet. I guess something is going wrong with the AJAX call but can’t seem to find out where….

    Thread Starter Dutch SilverShadow

    (@dutch-silvershadow)

    By the way for my kudos rating on the right of the movie I use a custom [TAB] template. The code looks like this:
    (inactive)

    <div class="thumblock %CSS_BLOCK%">
         <div class="ratingtext %CSS_TEXT%">%RATING%<br />KUDOS</div>
        <div class="raterclear"></div>
    </div>

    (active)

    <div class="thumblock %CSS_BLOCK%">
         <div class="ratingtext %CSS_TEXT%">%RATING%<br />KUDOS</div>
         <div class="voteWrapper">
             %THUMB_UP%
              %THUMB_DOWN%
        </div>
        <div class="raterclear"></div>
    </div>

    For the comments rating I use a custom [TCB] template, which looks like this:
    (inactive)
    <div class="thumblock %CMM_CSS_BLOCK%"><div class="ratingtext %CMM_CSS_TEXT%">%RATING%</div><div class="raterclear"></div></div>

    (active)
    <div class="thumblock %CMM_CSS_BLOCK%">%THUMB_UP%<div class="ratingtext %CMM_CSS_TEXT%">%RATING%</div>%THUMB_DOWN%<div class="raterclear"></div></div>

    Hope this clears the sky around my problem for the heroes who can help me in this issue… Plz let me know!

    Thread Starter Dutch SilverShadow

    (@dutch-silvershadow)

    Sorry maybe I have to explain how you can vote on that page…

    The site works with Kudos. Next to the kudos-rating you see a green (up) and a red (down) button. For comment-rating you see beneath a comment the name en other meta, at the and you’ll see [+] rating [-]. You can press one of the two. I’ve programmed the rating systems that if someone placed a vote the UI for voting dissappears…

    I really hope someone can help me with this, I feel its something small that I’m missing…

    Thanks!

    @bendol:
    Such an ass! You never said you were using the featured image option. I was talking about custom fields. These are very different!!!

    This line is to be used when using custom fields:
    $temp = str_replace(“%POST_THUMB%”, get_post_meta($post->ID, ‘thumb’, true), $temp);

    I think this line is to be used when using the featured image option:
    $temp = str_replace(“%POST_THUMB%”, get_the_post_thumbnail($page->ID, ‘thumbnail’), $temp);

    LET ME NO IF IT WORKS!!!!!

    @bendol:
    Ok, you’ve got the plugin installed, aight? Have you found the wp-postviews.php in root/wp-content/plugins/wp-postviews/wp-postviews.php ????

    If you have, open wp-postviews.php so you can edit it. Then the question is, what type of function do you use to obtain your goal? Or better what do you want wp-postviews to do in your blog (show the least postviews/show the most postviews)?

    So if you decided what you want from your wp-postviews plugin find the line that correspondents with the right function. You can also add the requested line in all of the functions… I’ve made a list of the line numers (app.)…
    Do you want to ### Function: Display Least Viewed Page/Post —–> line 171
    Do you want to ### Function: Display Most Viewed Page/Post —–> line 213
    Do you want to ### Function: Display Leased Viewed Page/Post By Category ID -> line 262
    Do you want to ### Function: Display Most Viewed Page/Post By Category ID -> line 309
    Do you want to ### Function: Display Most Viewed Page/Post By Tag ID -> line 356
    Do you want to ### Function: Display Least Viewed Page/Post By Tag ID -> line 403
    ————–
    NOW PAY ATTENTION!!!!
    In every function you’ll find two lines like this:
    $temp = str_replace(“%POST_URL%”, get_permalink($post), $temp);
    $output .= $temp;

    Paste this between the first and the second line above:
    $temp = str_replace(“%POST_THUMB%”, get_post_meta($post->ID, ‘thumb’, true), $temp);

    IMPORTANT!
    Where you see ‘thumb’, this is the variable of your custom field so if you custom field variable is dickhead the line will become:
    $temp = str_replace(“%POST_THUMB%”, get_post_meta($post->ID, ‘dickhead’, true), $temp);

    @bendol:
    What is your problem exactly???

    halluzineyt,

    Thanks for your comment, but I just fixed it yesterday exactly the same way as you explained it in your comment ;).

    `$post_excerpt = views_post_excerpt($post->post_excerpt, $post->post_content, $post->post_password, $chars);
    $temp = stripslashes($views_options[‘most_viewed_template’]);
    $temp = str_replace(“%VIEW_COUNT%”, number_format_i18n($post_views), $temp);
    $temp = str_replace(“%POST_TITLE%”, $post_title, $temp);
    $temp = str_replace(“%POST_EXCERPT%”, $post_excerpt, $temp);
    $temp = str_replace(“%POST_CONTENT%”, $post->post_content, $temp);
    $temp = str_replace(“%POST_URL%”, get_permalink($post), $temp);
    /*
    I’ve added a custom field for the thumbnail ??
    */
    $temp = str_replace(“%POST_THUMB%”, get_post_meta($post->ID, ‘thumb’, true), $temp);
    $output .= $temp;

    You can view it in my website here, https://docunet.nl, at the “Top 5 best bekeken docu’s”…

    I also have the plugin related-posts installed, this plugin doesn’t show any thumbs-via-custom-fields by default, so I edited the theme and as you can see on https://docunet.nl/commando-on-the-front-line/ in the sidebar there is a column called “Gerelateerde Documentaires”, en voila my related posts also with a custom-field-thumb.

    If someone wants to know how I did the custom-field-thumb on related-posts-plugin just shout…

    Thanks guys!

    That aint the right code. This is just a querypost, on top of it all there is no most_rated column… I just get the newest posts sorted… Please provide me with the right code…

    I want to know this too!!! I now make custom wp_queries but is it possible to add the custom field “thumnail” as well?

    Greetz

    I have the same problem. In Firefox it doesn’t work either… Please, someone?

    Same problem here!!! I’ve checked out the linkedinresume.php and all seems right. I thought maybe the profile url was wrong, but it wasn’t. It seems that the plugin is unable to retrieve the CV from LinkedIn in combination with WordPress 3.1, I don’t know why….

    @erna:
    Have you tried uninstalling and reinstalling the plugin?

    @arnaud:
    Please take a look at your plugin for us!!!!

    Thread Starter Dutch SilverShadow

    (@dutch-silvershadow)

    I’ve stopped using this plugin. I now use eventsmanager…. ??

    Thread Starter Dutch SilverShadow

    (@dutch-silvershadow)

    It has a problem adjusting the links without comp-mode in Iexplorer 2….

    Shit I hate Iexplorer!!!!

    Thread Starter Dutch SilverShadow

    (@dutch-silvershadow)

    Nice job KeesieMeijer!!! But i still have a problem with the table in Iexplorer compitablitiy mode… Check it… the table falls out of the div class blogTheContent…. Very strange. And it doesn’t seem to pick up my style for the class .tdHeadRouteFiles in my css…

    Have a solution for that problem 2?

Viewing 15 replies - 1 through 15 (of 15 total)