• [MOD] Members Templates Select 5 0 5 1
Currently:  

Author Topic: [MOD] Members Templates Select  (Read 83346 times)

0 Members and 1 Guest are viewing this topic.

Offline wallpapers

  • Full Member
  • ***
  • Posts: 107
    • View Profile
    • Tuned-Cars.Net
Re: [MOD] Members Templates Select
« Reply #45 on: September 08, 2006, 11:03:00 PM »
Great mod as always V@no :wink:
I have installed on version 1.7.3 and i''s working perfect :D



Offline vinaswu

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [MOD] Members Templates Select
« Reply #46 on: September 18, 2006, 07:28:45 AM »
link of user_template_install.php is dead? :roll: :!:

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] Members Templates Select
« Reply #47 on: September 18, 2006, 08:13:11 AM »
attached to the post now.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline vinaswu

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [MOD] Members Templates Select
« Reply #48 on: September 18, 2006, 10:12:02 AM »
attached to the post now.

Thanks for help :oops:

Offline Stoleti

  • Hero Member
  • *****
  • Posts: 574
    • View Profile
Re: [MOD] Members Templates Select
« Reply #49 on: September 24, 2006, 07:14:23 PM »
Its possible make a option for select templates using icons , and not dropdown ???

icon1 (default template) | icon2 (next template) ....

or make links like www.yoursite.com/new_skin.php?id={template_name}

 :?:

Offline fgabriel

  • Newbie
  • *
  • Posts: 30
    • View Profile
Re: [MOD] Members Templates Select
« Reply #50 on: November 16, 2006, 01:19:15 PM »
this mod works for guests?
not login users

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Members Templates Select
« Reply #51 on: August 20, 2007, 10:03:26 PM »
Quote
this mod works for guests?

When check code ... no think for auth require. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: [MOD] Members Templates Select
« Reply #52 on: January 15, 2008, 03:28:30 PM »
Fix in first post:

In includes/page_header.php file,

change:

Code: [Select]
while($dir_cache = readdir($dir))

for:

Code: [Select]
while (false !== ($dir_cache = @readdir($dir))) {
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline KurtW

  • 4images Guru
  • *******
  • Posts: 2.778
    • View Profile
    • Malediven-Bilder ~~Dreams~~
Re: [MOD] Members Templates Select
« Reply #53 on: January 15, 2008, 04:00:21 PM »
Its possible make a option for select templates using icons , and not dropdown ???

icon1 (default template) | icon2 (next template) ....

or make links like www.yoursite.com/new_skin.php?id={template_name}

 :?:

Hi Stoleti ,

normally you can use in a imagelink this url:
www.yoursite.com/index.php?t={template_name}

The session gives then the "t" to the other php



KurtW

Offline Marcovich

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
    • High Definition Wallpapers
Re: [MOD] Members Templates Select
« Reply #54 on: March 29, 2009, 02:39:50 PM »
Can you upload the install file again?
thanks.

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: [MOD] Members Templates Select
« Reply #55 on: March 29, 2009, 03:56:36 PM »
hi,

it's attached to the 1st V@no's post, but here again http://www.4homepages.de/forum/index.php?action=dlattach;topic=6220.0;attach=957
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Marcovich

  • Jr. Member
  • **
  • Posts: 61
    • View Profile
    • High Definition Wallpapers
Re: [MOD] Members Templates Select
« Reply #56 on: March 29, 2009, 04:28:57 PM »
There is any chance that you will tell me how to do that even guess can change the template?
thanks mate!

Offline Lesik

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: [MOD] Members Templates Select
« Reply #57 on: August 14, 2009, 03:19:04 AM »
V@no as it is usual at height  :wink:
I have found more simple variant of change of style which the user to whom can interestingly realize it and on the site chooses http://www.kelvinluck.com/assets/jquery/styleswitch/

Offline x23piracy

  • Sr. Member
  • ****
  • Posts: 420
    • View Profile
    • FHG
Re: [MOD] Members Templates Select
« Reply #58 on: October 19, 2010, 12:38:36 AM »
V@no as it is usual at height  :wink:
I have found more simple variant of change of style which the user to whom can interestingly realize it and on the site chooses http://www.kelvinluck.com/assets/jquery/styleswitch/


Hi,

yes that's a great and simple method:

Step 1.

1.1
In header.html find:
Code: [Select]
<link rel="stylesheet" href="{template_url}/images/style.css" />
replace with:
Code: [Select]
<link rel="stylesheet" type="text/css" href="{template_url}/images/styles1.css" title="styles1" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="{template_url}/images/styles2.css" title="styles2" media="screen" />
<link rel="alternate stylesheet" type="text/css" href="{template_url}/images/styles3.css" title="styles3" media="screen" />


1.2
Add in header.html between <head> </head> tag:
(If you allready use jquery it's not important if minimal or normal version you can dismiss the first line.)
Code: [Select]
<script type="text/javascript" src="./js/jquery.min.js"></script>
<script type="text/javascript" src="./js/styleswitch.js"></script>


Step 2.

Place anywhere you want to display the style change links:
Code: [Select]
<a href="nojava.html?style=style1" rel="styles1" class="styleswitch">styles1</a>
<a href="nojava.html?style=style2" rel="styles2" class="styleswitch">styles2</a>
<a href="nojava.html?style=style3" rel="styles3" class="styleswitch">styles3</a>

The nojava.html can be used if no java script is available (server side style changing).


Step 3.

Create a folder called "js" in your 4images root directory.
Place the following files in that folder:
(You can dismiss jquery.js if you allready use it).

http://www.kelvinluck.com/assets/jquery/styleswitch/jquery.js
http://www.kelvinluck.com/assets/jquery/styleswitch/styleswitch.js


Greetz X23

Don't trust in md5 it's unsafe change your 4i galerys password hash algorythm! second pw db field, create new hashes over some time, deny old hash. Help members that cry, send informationen mail to the rest. Camouflage new pw hash in cookie. Done!

--(◔̯◔)--

Offline mailoo

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: [MOD] Members Templates Select
« Reply #59 on: March 20, 2011, 11:48:03 AM »
Great Work..
But How Can I Enable For Guest ?

tanx