![]() |
![]() |
![]() |
||||
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 |
Confirmed User
Join Date: Feb 2002
Location: ON, Canada
Posts: 1,314
|
Generating multiple HTML pages from a template??
If I have an HTML template called 00.html and the code on the template is <img src="00.jpg">
Is there an easy way to generate multiple pages named 01.html with the code <img src="01.jpg"> 02.html with the code <img src="02.jpg"> ??? |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
It's 42
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
|
Yes, any scripting language can create these pages dynamically from the URL ?query string
The pages could be written with a script if you need static pages for some reason. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Feb 2002
Location: ON, Canada
Posts: 1,314
|
know any software / wp plugin that can do this?
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Affiliate
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,432
|
google "php echo string" and add mod rewrite to make it 02.html rather then page.php?q=2
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Industry Role:
Join Date: Jun 2015
Posts: 180
|
You need php.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Join Date: Feb 2002
Location: ON, Canada
Posts: 1,314
|
sounds complicated
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 |
Confirmed User
Industry Role:
Join Date: Jun 2015
Posts: 180
|
-> PHP and MySQL for dummies, 4th
-> 10 day free trial at SafariBooksOnline.com You can ask in the PHP section of CodingForums.com, and people will tell you exactly, what you need to do. A lot of other places on the Internet too, the more related to PHP, the better. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,597
|
Also depends if you want those pages dynamically created on the fly, so there actually wont be any 01.html, 02.html on the server, just a lets say /page.php?q=2
Or do you need those actual files
__________________
![]() Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: Feb 2002
Location: ON, Canada
Posts: 1,314
|
thanks! I'll check it out!
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Confirmed User
Industry Role:
Join Date: Jun 2015
Posts: 180
|
You can do search and replace in Notepad++ too. You don't need to go as far as learning php programming, I guess.
Edit: Open the original template in Notepad++, and then open another one, next to it, and do search and replace there. Do this, save, do the next one, save, and so on. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Too lazy to set a custom title
Industry Role:
Join Date: Mar 2006
Location: Argentina
Posts: 25,924
|
just a few php lines, contact me if you need some help ;)
__________________
Beautiful And Usable Web Design Creations For The Adult Industry Since 2003
I'm Yuu, Designer and Content Producer Paysites - Affiliate Programs - Dating & Cam Sites - Mainstream Projects - Tube Sites - Banners - Wordpress Themes - NATs integration - Landing Pages Check my Portfolio and Content Production Offers |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Confirmed User
Join Date: Feb 2002
Location: ON, Canada
Posts: 1,314
|
Quote:
Basically how it works now is this: -HTML files are created locally on a computer with this name: 01(wp post ID)01.html and with this code <img src="01.jpg"> on them. - The files get uploaded via FTP - HTML code gets inserted to wp post <a href="0101.html><img src="01_small.jpg"></a> <a href="0102.html><img src="02_small.jpg"></a> Seems like there should be a faster way ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
Confirmed User
Industry Role:
Join Date: Jun 2015
Posts: 180
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
Confirmed User
Join Date: Feb 2002
Location: ON, Canada
Posts: 1,314
|
not even that many, just 12 for each template
I set up like 20 posts in a day though with various templates |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Confirmed User
Industry Role:
Join Date: Jun 2015
Posts: 180
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
Confirmed User
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,597
|
Quote:
__________________
![]() Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Affiliate
Industry Role:
Join Date: Oct 2002
Location: Icq: 94-399-723
Posts: 24,432
|
icq me ill help.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
It's 42
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
|
If it is only 12 files (HTML static pages) do it with a text editor.
Would already be done ![]() === edit: time times 20? change 12 templates pages adding 20 posts daily? === you need 12 static html pages [10](prefix)+(wp post ID)01.html 01 to infinity? === Get a programmer. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Confirmed User
Join Date: Feb 2002
Location: ON, Canada
Posts: 1,314
|
yep, correct.. so I can put ads on the big pics
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Confirmed User
Industry Role:
Join Date: Aug 2005
Location: YUROP
Posts: 8,597
|
Aren't there any plugins for that?
Btw the default template can show full photos on html, so there you can add an ad, but I assume you want to add content specific ads (meaning to the same sponsor)..
__________________
![]() Anal Webcams | Kinky Trans Cams Live | Hotwife XXX Tube | Get your Proxies here |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 |
Let's do some business!
Industry Role:
Join Date: Sep 2004
Location: Austin, TX
Posts: 31,291
|
UUgallery would have been good for this.
Aside from that, you are using WordPress, look through the available plug-ins. There will be several to choose from. Something like this: https://wordpress.org/plugins/easy-image-gallery/ You can also use: Arles Image Web Page Creator
__________________
Vacares - Web Hosting, Domains, O365, Security & More - Paxum and BTC Accepted Windows VPS now available. Wanted: CCBill pay sites for sale |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Friends of Venus founder
Industry Role:
Join Date: Jul 2010
Posts: 1,966
|
Notepad ++ for the non-coder (I used to be that guy and life sucked, so I learned to code) a plan of attack is to have your pages in one folder. Do a find and replace on the folder. a becomes b, tomorrow b becomes c, etc.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
Confirmed User
Industry Role:
Join Date: Jun 2015
Posts: 180
|
What is the website url, out of curiosity?
|
![]() |
![]() ![]() ![]() ![]() ![]() |