Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
  #1081  
Old 29 Jan 2015, 00:26
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
And what is in the template?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #1082  
Old 29 Jan 2015, 09:32
DoubleYou DoubleYou is offline
 
Join Date: Nov 2011

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #1083  
Old 29 Jan 2015, 20:20
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Hmmm, nothing really wrong there.

It seems to not like this line:
$navbits = construct_navbits(array('' => '404 Seite'));

Try retyping it and see if that may help. (Even remove it for a sec, which will break things, but see what happens.)
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #1084  
Old 24 Feb 2015, 12:21
Yogesh Sarkar's Avatar
Yogesh Sarkar Yogesh Sarkar is offline
 
Join Date: Jan 2007
Hello Lynne. What code do we need to add to the custom page to make it a login page for users? Currently users cannot directly access the login page.
__________________
India Travel Forum | My Blog
Reply With Quote
  #1085  
Old 24 Feb 2015, 19:58
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
I do not have the code to create a login page. You would need to make your template have a login form. You would need to create that yourself.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #1086  
Old 23 Apr 2015, 14:58
Duckface Duckface is offline
 
Join Date: Apr 2015
How would you add php within the template?

Because I have the following and it's not working:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #1087  
Old 24 Apr 2015, 00:29
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
You add php to the .php page. You cannot enter php into a template.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #1088  
Old 21 Jul 2015, 18:32
friendlymela's Avatar
friendlymela friendlymela is offline
 
Join Date: Dec 2012
Real name: Zeeshan Shams
i want to make a different kind of home page someone help me?
Reply With Quote
  #1089  
Old 24 Sep 2015, 23:06
Colossal31 Colossal31 is offline
 
Join Date: Mar 2015
Does anyone know how I could make this a memberlist page that shows just one usergroup?
Reply With Quote
  #1090  
Old 24 Sep 2015, 23:18
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
Originally Posted by Colossal31 View Post
Does anyone know how I could make this a memberlist page that shows just one usergroup?
You could simply copy the "showgroups.php" script for this and make some modifications to it so it only shows the usergroup you want to display:
- Removing the $groupcache/$modcache functionality.
- Select the right usergroupid's.

If however your usergroup contains a lot of members, you should copy the memberlist.php script and make your modifications to it.
Or just simply hook into memberlist_fetch its $hook_query_where variable and make sure it only selects specific usergroup's based on a GET variable.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
  #1091  
Old 24 Sep 2015, 23:29
Colossal31 Colossal31 is offline
 
Join Date: Mar 2015
Originally Posted by Dave View Post
You could simply copy the "showgroups.php" script for this and make some modifications to it so it only shows the usergroup you want to display:
- Removing the $groupcache/$modcache functionality.
- Select the right usergroupid's.

If however your usergroup contains a lot of members, you should copy the memberlist.php script and make your modifications to it.
Or just simply hook into memberlist_fetch its $hook_query_where variable and make sure it only selects specific usergroup's based on a GET variable.
Ok so how would I identify the specific usergroups. I am not the strongest at this I am learning as I go. SO any help would be appreciated. Thanks.
Reply With Quote
  #1092  
Old 25 Sep 2015, 17:55
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by Colossal31 View Post
Ok so how would I identify the specific usergroups. I am not the strongest at this I am learning as I go. SO any help would be appreciated. Thanks.
If you look at admincp > Usergroups > Usergroup Manager, then you will see the usergroupid in the dropdown next to the usergroup name.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #1093  
Old 27 Sep 2015, 22:11
Colossal31 Colossal31 is offline
 
Join Date: Mar 2015
Originally Posted by Lynne View Post
If you look at admincp > Usergroups > Usergroup Manager, then you will see the usergroupid in the dropdown next to the usergroup name.
What I am meaning is in the code how do I identify the usergroup I wanna display? Like what do I need to change to show just that one usergroup.
Reply With Quote
  #1094  
Old 21 Oct 2015, 13:56
I.G.O.T.A.'s Avatar
I.G.O.T.A. I.G.O.T.A. is offline
 
Join Date: Mar 2011
Real name: JJ Smith
If I wanted to add a custom description and keywords would I add that to the your custom code goes here?

// ###### YOUR CUSTOM CODE GOES HERE #####
$pagetitle = 'Test Page';
<meta name="description" content="Testing page" />
<meta name="keywords" content="testing, page," />
Reply With Quote
  #1095  
Old 21 Oct 2015, 19:53
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by I.G.O.T.A. View Post
If I wanted to add a custom description and keywords would I add that to the your custom code goes here?

// ###### YOUR CUSTOM CODE GOES HERE #####
$pagetitle = 'Test Page';
<meta name="description" content="Testing page" />
<meta name="keywords" content="testing, page," />
You would just add it to the template you are creating for the page.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 07:39.

Layout Options | Width: Wide Color: