Page Index Toggle Pages: 1 2 [3] 4  Send TopicPrint
Very Hot Topic (More than 25 Replies) Add More Templates Mod (Read 16123 times)
bordeglobal
God Member
*****
Offline


Only the Best Posters
Survive!

Posts: 1837
Location: Trinidad, West Indies
Joined: Sep 30th, 2002
Gender: Male
Re: Add More Templates Mod
Reply #30 - Jul 11th, 2003 at 10:02pm
Print Post  
Yup, already done that on mine.
  

Back to top
WWW  
IP Logged
 
Michael Griffin
God Member
*****
Offline


Black Panther's are cool!!!

Posts: 1337
Location: Crossville
Joined: Mar 30th, 2003
Gender: Male
Re: Add More Templates Mod
Reply #31 - Jul 12th, 2003 at 5:26am
Print Post  
hehe@borderglobel... Its like that saying except mines "He's everywhere, everywhere" Wink

Panther Wink
  

Michael T Griffin
Back to top
YIM  
IP Logged
 
bordeglobal
God Member
*****
Offline


Only the Best Posters
Survive!

Posts: 1837
Location: Trinidad, West Indies
Joined: Sep 30th, 2002
Gender: Male
Re: Add More Templates Mod
Reply #32 - Jul 12th, 2003 at 8:25pm
Print Post  
Okay there is a definite conflict in the mod for certain other functions that call the template. For instance, with the error log mod something weird happens... if a person experiences an error and you check the error log you will see a blank white page. In order for me to get the error log to open I had to custom build its' own template file.

Were you able to see a modification in step #7 to facilitate in the langiage mod?

Also, if you can tell me what I have to do to 'call' the info for a user's template selection then I can stick it in the profile so we can know the theme members prefer.

Thanks!
  

Back to top
WWW  
IP Logged
 
bordeglobal
God Member
*****
Offline


Only the Best Posters
Survive!

Posts: 1837
Location: Trinidad, West Indies
Joined: Sep 30th, 2002
Gender: Male
Re: Add More Templates Mod
Reply #33 - Jul 14th, 2003 at 3:20am
Print Post  
Anything yet? Thanks.
  

Back to top
WWW  
IP Logged
 
Allanon23
New Member
*
Offline



Posts: 16
Joined: Jun 14th, 2003
Gender: Male
Re: Add More Templates Mod
Reply #34 - Jul 14th, 2003 at 4:15am
Print Post  
I was getting the same problem with the error log mod.  I had to remove all the "class=" stuff from the errorlog.txt.  Couldn't figure out the conflict but I like the new log look anyway so didn't worry about it.
  
Back to top
WWW  
IP Logged
 
bordeglobal
God Member
*****
Offline


Only the Best Posters
Survive!

Posts: 1837
Location: Trinidad, West Indies
Joined: Sep 30th, 2002
Gender: Male
Re: Add More Templates Mod
Reply #35 - Jul 14th, 2003 at 11:59am
Print Post  
I can live with the error log since only I see that, but I would like answers for these if you have chance, especially #2

1.  Were you able to see a modification in step #7 to facilitate in the langiage mod?

2.  Also, if you can tell me what I have to do to 'call' the info for a user's template selection then I can stick it in the profile so we can know the theme members prefer.

3.  I think it would be good if this can be added to the register page so that a. new member can select their template in the process of joining
  

Back to top
WWW  
IP Logged
 
Allanon23
New Member
*
Offline



Posts: 16
Joined: Jun 14th, 2003
Gender: Male
Re: Add More Templates Mod
Reply #36 - Jul 14th, 2003 at 5:27pm
Print Post  
1. No I wasn't able to figure a way to use both mods Sad

2. The info is stored in a file named "username.tem" where username is the name of the user.

3. I like that idea
  
Back to top
WWW  
IP Logged
 
bordeglobal
God Member
*****
Offline


Only the Best Posters
Survive!

Posts: 1837
Location: Trinidad, West Indies
Joined: Sep 30th, 2002
Gender: Male
Re: Add More Templates Mod
Reply #37 - Jul 14th, 2003 at 8:11pm
Print Post  
2. great... can you make a sample call line to that file then?

3. So does that mean you plan to add this? Wink
  

Back to top
WWW  
IP Logged
 
Allanon23
New Member
*
Offline



Posts: 16
Joined: Jun 14th, 2003
Gender: Male
Re: Add More Templates Mod
Reply #38 - Jul 14th, 2003 at 11:29pm
Print Post  
Code
Select All
fopen(FILE, "$memberdir/$useraccount$username}.tem");
@temsettings=<FILE>;
fclose(FILE);
 



This is the code that is in Subs.pl
  
Back to top
WWW  
IP Logged
 
bordeglobal
God Member
*****
Offline


Only the Best Posters
Survive!

Posts: 1837
Location: Trinidad, West Indies
Joined: Sep 30th, 2002
Gender: Male
Re: Add More Templates Mod
Reply #39 - Jul 15th, 2003 at 3:19am
Print Post  
That produces this: '1' instead of the name of the theme they are using or the template they use. Any ideas?
  

Back to top
WWW  
IP Logged
 
Allanon23
New Member
*
Offline



Posts: 16
Joined: Jun 14th, 2003
Gender: Male
Re: Add More Templates Mod
Reply #40 - Jul 15th, 2003 at 4:11pm
Print Post  
Code
Select All
	fopen(FILE, "$memberdir/$useraccount{$username}.tem");
	@temsettings=<FILE>;
	fclose(FILE);
 



Don't know how it got screwed up.
  
Back to top
WWW  
IP Logged
 
bordeglobal
God Member
*****
Offline


Only the Best Posters
Survive!

Posts: 1837
Location: Trinidad, West Indies
Joined: Sep 30th, 2002
Gender: Male
Re: Add More Templates Mod
Reply #41 - Jul 15th, 2003 at 4:14pm
Print Post  
I got help on this... the code is:
Code
Select All
# this calls info from user file to view

fopen(FILE, "$memberdir/$INFO{'username'}.tem");
$themechoice =<FILE>;
fclose(FILE);

# end
 



Just put $themechoice where you want the user's template choice to appear.
  

Back to top
WWW  
IP Logged
 
bordeglobal
God Member
*****
Offline


Only the Best Posters
Survive!

Posts: 1837
Location: Trinidad, West Indies
Joined: Sep 30th, 2002
Gender: Male
Re: Add More Templates Mod
Reply #42 - Jul 15th, 2003 at 4:21pm
Print Post  
What I am hoping to do now is to get this to show on the register page, but it may not be so easy since the person does not have a username yet. Any help?
  

Back to top
WWW  
IP Logged
 
bordeglobal
God Member
*****
Offline


Only the Best Posters
Survive!

Posts: 1837
Location: Trinidad, West Indies
Joined: Sep 30th, 2002
Gender: Male
Re: Add More Templates Mod
Reply #43 - Jul 15th, 2003 at 11:05pm
Print Post  
Anyone?
  

Back to top
WWW  
IP Logged
 
bordeglobal
God Member
*****
Offline


Only the Best Posters
Survive!

Posts: 1837
Location: Trinidad, West Indies
Joined: Sep 30th, 2002
Gender: Male
Re: Add More Templates Mod
Reply #44 - Jul 17th, 2003 at 4:50am
Print Post  
No one want to attempt? it will be cool to have your forum look a certain way for a user upon registering.
  

Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 2 [3] 4 
Send TopicPrint