![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
In the Cave of Gold
Industry Role:
Join Date: Jun 2010
Location: ONLINE
Posts: 660
|
Is there a Wordpress plugin that shuffles your posts?
I have searched high and low and keep finding the same 'random posts' widgets. I want to just shuffle every post and eliminate dates all together. It's a Wordpress tube site and every few days I add 20 or 30 clips from a new sponsor, but I don't want the videos clumped together by site like that so I have been adding them with my own random dates, but I'd rather just add them all and have Wordpress do the randomizing.
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Mar 2006
Posts: 1,966
|
sounds like a great idea, wouldnt mind testing something like that out.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Jan 2010
Posts: 377
|
removing the dates is something best done by hand, there are a couple plugin's out there that claim they can do it, but it really depends on your theme if they are successful or not.
A quick google on 'remove wp date/time' should give you some pretty step by step directions on how to edit the php loop to remove them. I was able to do this, so I'm sure you can too ![]() There is a plugin called 'oldest to newest' that does exactly what it claims to do, but there is no randomization in it. If you find a random post updater, let us know
__________________
ICQ 452 one six 7 five 41 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
In the Cave of Gold
Industry Role:
Join Date: Jun 2010
Location: ONLINE
Posts: 660
|
Quote:
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Jan 2010
Posts: 377
|
google is your friend
http://mr.hokya.com/post-randomizer/ how about a review on this when you try it
__________________
ICQ 452 one six 7 five 41 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Jul 2001
Location: 127.0.0.1
Posts: 9,266
|
not sure what do you mean by shuffle, I take you mean random. If so, open your index.php, look for the loop and add something like this:
Code:
<?php $rand_posts = get_posts('numberposts=10&orderby=rand'); foreach( $rand_posts as $post ) : ?> <div class="post"> <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> <?php the_content(); ?> </div> <?php endforeach; ?>
__________________
This post is endorsed by CIA, KGB, MI6, the Mafia, Illuminati, Kim Jong Il, Worldwide Ninjas Association, Klingon Empire and lolcats. Don't mess around with it, just accept it and embrace the truth |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
In the Cave of Gold
Industry Role:
Join Date: Jun 2010
Location: ONLINE
Posts: 660
|
Quote:
It also could be something with my theme but the docs on that plugin are non-existent.
__________________
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
<&(©¿©)&>
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
|
shouldn't be too hard to write something like that, if you are looking to invest a few bucks for this technology, hit me up icq: 33375924
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Industry Role:
Join Date: Dec 2007
Location: Las Vegas
Posts: 3,220
|
RYO Oldest To Newest
http://ryowebsite.com/?cat=11
__________________
Network Of Adult Blogs With Hardlink Rentals Available |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Too lazy to set a custom title
Industry Role:
Join Date: Nov 2005
Posts: 10,012
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Industry Role:
Join Date: Jul 2008
Location: In your back seat with duck tape
Posts: 4,568
|
Quote:
__________________
High Performance Vps $10 Linode Manage your Digital Ocean, Linode, or Favorite Cloud Server. Simple, fast, and secure Server Pilot |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Join Date: Nov 2001
Posts: 1,662
|
I've been using
http://www.dagondesign.com/articles/...for-wordpress/ for a long time now. Works great. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
She is ugly, bad luck.
Industry Role:
Join Date: Jan 2010
Posts: 13,177
|
Lots of usefulness. Just marking the thread so I can find it again.
__________________
↑ see post ↑ 13101 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | ||||||
In the Cave of Gold
Industry Role:
Join Date: Jun 2010
Location: ONLINE
Posts: 660
|
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
![]()
__________________
![]() |
||||||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
i use query_posts for tube style layouts, where i have random posts 4-8 of them, then the regular posts.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Confirmed User
Industry Role:
Join Date: Jul 2008
Location: In your back seat with duck tape
Posts: 4,568
|
bump, looking for:
1. the plugin, or 2. the code, or 3. the price, of what you would charge to make it happen
__________________
High Performance Vps $10 Linode Manage your Digital Ocean, Linode, or Favorite Cloud Server. Simple, fast, and secure Server Pilot |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
yes i use that on a tube theme, i have a row for featured videos, latest, then random.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Confirmed User
Join Date: Jun 2009
Posts: 472
|
Just modify the loop for your specific needs/wants. That's pretty much all any plugin will do anyway. And at the end of the day it'd be better for you to learn how to do these types of things yourself.
Here's a good place to get started: http://codex.wordpress.org More specifically: http://codex.wordpress.org/Template_Tags/get_posts |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Confirmed User
Industry Role:
Join Date: Jul 2010
Posts: 519
|
sorry to bump this thread.. did you ever solved your problem? i might be looking for this one soon enough. will be building WP tubes and still need info.. up for you man!
__________________
DESIGN IS FILTHY DESIGN DEALS + ICQ:624499299 + designs {at} designisfilthy.com $8 BANNER DESIGN | $299 for 50 BANNERS | $449 for 100 BANNERS $15 DOLLAR GALLERY DESIGN | $129 for 10 GALLERIES | $199 for 20 GALLERIES |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 |
Confirmed User
Industry Role:
Join Date: Jun 2001
Location: Transform my name to numbers it'd be 121058710.
Posts: 3,861
|
__________________
Make money offa that Asian honey - www.eroticmp.com. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
A good post randomizer could be set to shuffle the existing datetimes once per x minutes/hours.
example: get id,datetime from the db table shuffle the datetimes update each id with the new datetime
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
Confirmed User
Industry Role:
Join Date: Oct 2001
Location: Toronto
Posts: 7,103
|
You'd have to make sure you weren't using a calendar or archives by date.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
ORDER BY RAND()
Enjoy even more overhead than turdpress normally has.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
Why? in this example, the dates are meaningless and only being used to show content on the pages in a different order. In what case would you still want the Archives to show the original order?
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#27 |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
Yes, yes I do.
As does anyone who has to manage computers, not just skin them and go away - no offense, but WP is probably the biggest pile of shit written in PHP, and I'm including absolutely everything written in PHP, ever. ;)
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#28 | |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
Quote:
![]()
__________________
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#29 |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
Oh holy god. I forgot about that. Can you believe it? I was, however, including phpBB2, and OpenBB (no longer exists).
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#30 |
Confirmed User
Industry Role:
Join Date: Feb 2010
Posts: 1,190
|
Here's two of them.
http://www.yakupgovler.com/advanced-random-posts.html http://www.danielesalamina.it/advanced-random-post (Page in Italian but files are in English) |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#31 |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
yes that may be it, but a good portion of high traffic websites use wordpress
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#32 |
Now choke yourself!
Industry Role:
Join Date: Apr 2006
Posts: 12,085
|
A good portion of high traffic websites also use Tomcat, but I'd prefer not to manage them, either.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#33 | |
(felis madjewicus)
Industry Role:
Join Date: Jul 2006
Location: In Mom & Dad's Basement
Posts: 20,368
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#34 |
Let's do some business.
Industry Role:
Join Date: Jan 2003
Location: The dirty south.
Posts: 18,781
|
If you ever create something that makes site building / management as easy as WP plus has all of the benefits I'll be the first to sign up. Until then, manage away.
__________________
![]() Hands Free Adult - Join Once, Earn For Life "I try to make a habit of bouncing my eyes up to the face of a beautiful woman, and often repeat “not mine” in my head or even verbally. She’s not mine. God has her set aside. She’s not mine. She’s His little girl, and she needs me to fight for her by keeping my eyes where they should be." |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#35 | |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
Quote:
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#36 |
Confirmed User
Industry Role:
Join Date: Jun 2001
Location: Transform my name to numbers it'd be 121058710.
Posts: 3,861
|
I'm curious what is so bad about WP - would you be so kind as to name a few things?
__________________
Make money offa that Asian honey - www.eroticmp.com. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#37 |
Confirmed User
Industry Role:
Join Date: Jul 2001
Location: 127.0.0.1
Posts: 9,266
|
Grouchy, I won't argue on the technical part, since I don't know, but when I see these retarded users, I assume they might have 1 or 2 coders that know a little, and since they're using WP, me and the average Joe will trust that crappy pile of shit known as WP. There might be better scripts, but if it's good for the fucking NASA, Yahoo, CNN, FOX, flickr and Reuters just to name a few, then I'm pretty sure it will be bananas for a small cat like me
![]() ![]() The above being said, I'd be very interested in knowing what would you recommend as an alternative and why do you think WP is that bad (please don't say security, let's be serious here)
__________________
This post is endorsed by CIA, KGB, MI6, the Mafia, Illuminati, Kim Jong Il, Worldwide Ninjas Association, Klingon Empire and lolcats. Don't mess around with it, just accept it and embrace the truth |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#38 |
Confirmed User
Industry Role:
Join Date: Mar 2004
Location: Great White North
Posts: 5,794
|
I just use orderby=rand and WPCACHE to set the time limit on cache.
So this in effect randomizes my frontpage every "3600 seconds" or whatever I set it at.
__________________
LinkSpun - Premier Adult Link Trading Community - ICQ - 464/\281/\250 Be Seen By New Webmasters/Affiliates * Target out webmasters/affiliates based on niches your sites are for less than $20 a month. AmeriNOC - Proudly hosted @ AmeriNOC! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#39 | ||
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
Quote:
Quote:
![]()
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
||
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#40 |
Let's do some business.
Industry Role:
Join Date: Jan 2003
Location: The dirty south.
Posts: 18,781
|
__________________
![]() Hands Free Adult - Join Once, Earn For Life "I try to make a habit of bouncing my eyes up to the face of a beautiful woman, and often repeat “not mine” in my head or even verbally. She’s not mine. God has her set aside. She’s not mine. She’s His little girl, and she needs me to fight for her by keeping my eyes where they should be." |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#41 | |
Too lazy to set a custom title
Industry Role:
Join Date: Aug 2002
Posts: 55,372
|
Quote:
Code:
<?php // show 5 random posts, dont repeat the same posts for an hour function fris_run_cookie($savecookieid) { setcookie("randompostsviewed", ''); //delete old ones $savecookiestr=serialize($savecookieid); //use serialize() to store the array setcookie("randompostsviewed",$savecookiestr,time()+3600*1,COOKIEPATH, COOKIE_DOMAIN); //keep for 1 hour by default } if (isset($_COOKIE['randompostsviewed'])){ $savecookiestr = $_COOKIE['randompostsviewed']; $savecookieid = unserialize($savecookiestr); } else{ $savecookieid = array(); } $savecookieid[] = get_option("sticky_posts"); ?> <?php $args = array( 'post_status' => 'publish', 'caller_get_posts'=> 1, 'post__not_in' => $savecookieid, 'orderby' => 'rand', 'posts_per_page' => 5 ); query_posts($args); ?> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php if (!in_array($post->ID,$savecookieid,true)) { $savecookieid[]= $post->ID; } fris_run_cookie($savecookieid); ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2> <div class="entry-content"> <?php the_content(); ?> </div> <?php endwhile; ?> <?php endif; ?>
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence. ![]() WP Stuff |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#42 |
Confirmed User
Industry Role:
Join Date: Oct 2001
Location: Toronto
Posts: 7,103
|
I have no idea what I was thinking back then. Right now I'm thinking I don't want a post from 2005 to pop up on my index page. If the random call would only include the last month's posts - fine.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#43 | |
Confirmed User
Industry Role:
Join Date: Jul 2001
Location: 127.0.0.1
Posts: 9,266
|
Quote:
Code:
<?php function filter_where($where = '') { //posts for last month $where .= " AND post_date > '" . date('Y-m-d', strtotime('-30 days')) . "'"; return $where; } add_filter('posts_where', 'filter_where'); query_posts('numberposts=10&orderby=rand'); ?>
__________________
This post is endorsed by CIA, KGB, MI6, the Mafia, Illuminati, Kim Jong Il, Worldwide Ninjas Association, Klingon Empire and lolcats. Don't mess around with it, just accept it and embrace the truth |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#44 | |
Confirmed User
Industry Role:
Join Date: Oct 2001
Location: Toronto
Posts: 7,103
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |