pic of the day link of the day wp affiliate plugin

Discussion Of All Legal Topics Is Fine Anything Goes. Be Respectful of Others. No Personal Information or Attacks.
All Traffic, Link, Banner, Push Notification and Advertising, Offers & Requests Here,.
Domains & Websites For Sale and Requests Here.
Keep One thread per person & No More Than 1 Weekly Bump.
User avatar
gotonudecom
Verified Member
Verified Member
Posts: 3169
Joined: February 6th, 2018, 1:54 pm
Title: DomainMaster
Referrals: 30
Contact:

#16

Post by gotonudecom » April 24th, 2020, 2:11 pm

Colmike7 wrote: ↑
April 24th, 2020, 12:59 pm
Easy half-assed way to do it:

Code: Select all

// make an /images/days folder and put in Monday.jpg, Tuesday.jpg, etc
$image_folder = "images/days";
$today = date('l');
if (file_exists($image_folder."/".$today.".jpg")) {
  echo "<img src=\"$image_folder/".$today.".jpg\">";
}
else {
  echo "No image was found for $today";
}
?>
Then find a way to import new images once a week in that folder. :p

The links will take a couple more lines of code, but I'm lazy today.

When you get unlazy, which will most likely happen just a few seconds after I get unlazy, let me know. Maybe we can turn it into a free plugin with some paid upgrades????

User avatar
BrasSmonkey
Verified Member
Verified Member
Posts: 7893
Joined: February 28th, 2018, 6:31 pm
Title: Smell My Sack
Referrals: 1
Contact:

#17

Post by BrasSmonkey » April 24th, 2020, 2:26 pm

good luck with the slow method
THE LAKEN RILEY ACT IS NOW LAW!!! TRUMP 2025!!!
DACA HAS ENDED!!! email: brassballz-@-techie.com

Colmike7
Banned
Banned
Posts: 1670
Joined: May 23rd, 2018, 12:21 pm
Title: (>^-^)b

#18

Post by Colmike7 » April 24th, 2020, 2:29 pm

gotonudecom wrote: ↑
April 24th, 2020, 2:11 pm
Colmike7 wrote: ↑
April 24th, 2020, 12:59 pm
Easy half-assed way to do it:

Code: Select all

// make an /images/days folder and put in Monday.jpg, Tuesday.jpg, etc
$image_folder = "images/days";
$today = date('l');
if (file_exists($image_folder."/".$today.".jpg")) {
  echo "<img src=\"$image_folder/".$today.".jpg\">";
}
else {
  echo "No image was found for $today";
}
?>
Then find a way to import new images once a week in that folder. :p

The links will take a couple more lines of code, but I'm lazy today.

When you get unlazy, which will most likely happen just a few seconds after I get unlazy, let me know. Maybe we can turn it into a free plugin with some paid upgrades????
Sure, but I'm sure it'd be more solid and using a db.
I'll message you in a few hours, it's definitely doable and shouldn't be too hard.




Colmike7
Banned
Banned
Posts: 1670
Joined: May 23rd, 2018, 12:21 pm
Title: (>^-^)b

#19

Post by Colmike7 » April 24th, 2020, 3:43 pm

So, basically create a SQL db, then a page to upload them to where it uses a file like add.php to gather the info then write it to the db if all fields are correct etc, then saves the image file to /images or wherever. Then a separate script that changes the pic of the day every 24 hours and the image/links/text/etc all gets changed easily with the db wherever you want the potd to show up. The most annoying part would be the moderation if you let the public post to it.




User avatar
gotonudecom
Verified Member
Verified Member
Posts: 3169
Joined: February 6th, 2018, 1:54 pm
Title: DomainMaster
Referrals: 30
Contact:

#20

Post by gotonudecom » April 24th, 2020, 4:23 pm

after reading ass monkeys reply and colmike's still not sure we are all on the same page.

Colmike7
Banned
Banned
Posts: 1670
Joined: May 23rd, 2018, 12:21 pm
Title: (>^-^)b

#21

Post by Colmike7 » April 24th, 2020, 4:26 pm

gotonudecom wrote: ↑
April 24th, 2020, 4:23 pm
after reading ass monkeys reply and colmike's still not sure we are all on the same page.
Yeah, I think I might be onto something a little different.. But, if you're looking to make those dumps into posts, that's doable in the same type of way and you can generate posts out of the DBs.




User avatar
gotonudecom
Verified Member
Verified Member
Posts: 3169
Joined: February 6th, 2018, 1:54 pm
Title: DomainMaster
Referrals: 30
Contact:

#22

Post by gotonudecom » April 24th, 2020, 5:32 pm

Colmike7 wrote: ↑
April 24th, 2020, 4:26 pm
gotonudecom wrote: ↑
April 24th, 2020, 4:23 pm
after reading ass monkeys reply and colmike's still not sure we are all on the same page.
Yeah, I think I might be onto something a little different.. But, if you're looking to make those dumps into posts, that's doable in the same type of way and you can generate posts out of the DBs.
I like where you are going, for sure.....

Would do a bit more, but stuck updating XXX at the moment.

notty
Verified Member
Verified Member
Posts: 348
Joined: March 21st, 2018, 1:07 pm

#23

Post by notty » April 25th, 2020, 1:27 pm

I want to see this when it is final.




Wm2man
Verified Member
Verified Member
Posts: 1064
Joined: March 7th, 2018, 2:38 pm

#24

Post by Wm2man » April 27th, 2020, 8:34 am

How about a pic of the day on the forum here to start out the day with some sexy babes.

:idea:




User avatar
gotonudecom
Verified Member
Verified Member
Posts: 3169
Joined: February 6th, 2018, 1:54 pm
Title: DomainMaster
Referrals: 30
Contact:

#25

Post by gotonudecom » April 27th, 2020, 7:06 pm

Wm2man wrote: ↑
April 27th, 2020, 8:34 am
How about a pic of the day on the forum here to start out the day with some sexy babes.

:idea:
did you look at page one of this thread?
it has a pic of the day.

Daniel
Verified Member
Verified Member
Posts: 163
Joined: March 19th, 2019, 7:33 pm

#26

Post by Daniel » April 28th, 2020, 12:23 pm

video of the day would do much better




chilli.domains
Verified Member
Verified Member
Posts: 864
Joined: March 16th, 2018, 2:18 pm

#27

Post by chilli.domains » April 29th, 2020, 10:24 am

Daniel wrote: ↑
April 28th, 2020, 12:23 pm
video of the day would do much better
why not both :idea: :?:




jlinkz
Verified Member
Verified Member
Posts: 799
Joined: March 30th, 2018, 8:30 pm

#28

Post by jlinkz » April 30th, 2020, 9:35 am

You need a simple random pic rotation script, and dump all the images in a folder let it pull one every time. It is a very simple code to add to your pages.




User avatar
LuKenGas
Verified Member
Verified Member
Posts: 2209
Joined: February 23rd, 2018, 8:07 am

#29

Post by LuKenGas » April 30th, 2020, 8:48 pm

Pic of the day is so 2000




User avatar
gotonudecom
Verified Member
Verified Member
Posts: 3169
Joined: February 6th, 2018, 1:54 pm
Title: DomainMaster
Referrals: 30
Contact:

#30

Post by gotonudecom » May 1st, 2020, 5:49 pm

jlinkz wrote: ↑
April 30th, 2020, 9:35 am
You need a simple random pic rotation script, and dump all the images in a folder let it pull one every time. It is a very simple code to add to your pages.
You missed the point of the thread.

pic of the day link of the day wp affiliate plugin

Post Reply