![]() |
|
Article Options |
#16
|
||||
|
||||
Is there a way to set a permission on these pages so that I can only allow serton usergroups into the serton custom section page?
Like make some sort of code so I can add it to the page I want a serton group to access only and leave the others like sitemap so that any one can see them?
__________________
Webmasters Forums My Made Mods Different Adsense sizes Mod - ![]() Search Engine search Term Highlighter - ![]() Top NavBar With Drop Down Menus - ![]() Google in quick search with forum style - ![]() No members have liked this post.
Last edited by MadKad; 19 Jul 2006 at 13:25. |
#17
|
||||
|
||||
you can use is_member_of() function...
__________________
Former vBulletin.org Staff Member Latest Articles: Liquid Layout = Less Ad Revenue? How to Monetize Your Site Improve Web Page Performance How To Write For The Web If it needs instructions, there's room for improvement. Give users what they actually want, not what they say they want. And whatever you do, don't give them new features just because your competitors have them! No members have liked this post.
|
#18
|
||||
|
||||
Nice one mate, do i add this to the body of the template or to one of your php files like the goto.php
thanks
__________________
Webmasters Forums My Made Mods Different Adsense sizes Mod - ![]() Search Engine search Term Highlighter - ![]() Top NavBar With Drop Down Menus - ![]() Google in quick search with forum style - ![]() No members have liked this post.
|
#19
|
||||
|
||||
that's up to you ... you can add it to the templates or the file
__________________
Former vBulletin.org Staff Member Latest Articles: Liquid Layout = Less Ad Revenue? How to Monetize Your Site Improve Web Page Performance How To Write For The Web If it needs instructions, there's room for improvement. Give users what they actually want, not what they say they want. And whatever you do, don't give them new features just because your competitors have them! No members have liked this post.
|
#20
|
||||
|
||||
OK thanks, sorry one more question as I am a little confused on this
what code am I using with this then? I only want to allow 3 usergroups to serton pages so i would be adding it to the body of the template code so it would be is_member_of($user, 1, 3, 4) what would go with that :s sorry is it an if or something?
__________________
Webmasters Forums My Made Mods Different Adsense sizes Mod - ![]() Search Engine search Term Highlighter - ![]() Top NavBar With Drop Down Menus - ![]() Google in quick search with forum style - ![]() No members have liked this post.
Last edited by MadKad; 20 Jul 2006 at 12:35. |
#21
|
|||
|
|||
Does anyone know if this works for 3.6?
No members have liked this post.
|
#22
|
||||||||
|
||||||||
Hi PRINCETON - Fabulous Fabulous vB hack. I am soooo loving this one - I do have a question/issue about the layout. I think in vBadvanced there's an option to either Use Module Shell Template or NO!
My choice would be to not have the page in a "box" - so to speak - I would like to have the custom page aligned in the middle of the page, rather than in the Module shell - Is there anyway to accomplish this? I am building an Amazon store for my forum - the link url is: http://www.jpicforum.info/goto.php?section=shop You'll notice how the alignment of the store is off a bit... The inline frame code is from Amazon directly (also the html for my gtcustom_shop phrase) and is as follows:
I'm not really sure if I can tweek that html at all. But I have managed to tweek the CUSTOM_SHELL template as follows:
Can you please help me to fix this code to where the the custom-shell-like box is removed and the Amazon store can sit right in the middle of the http://www.jpicforum.info/goto.php?section=shop page ------> I will surely appreciate your help! ALSO thanx for providing this nice piece of mod/hack work - Very nice indeed ![]() Jacquii. No members have liked this post.
|
#23
|
||||||||
|
||||||||
hi PoetJA-1975,
I'm guessing that you want to remove the "box" enclosing the Amazon script. If so ... REPLACE:
WITH:
If not the above template, you may have to edit the other template ... keep in mind that any changes you do to it may reflect on other custom pages. If that's not what you are referring to can you be more specific? Sorry for the delayed response ...
__________________
Former vBulletin.org Staff Member Latest Articles: Liquid Layout = Less Ad Revenue? How to Monetize Your Site Improve Web Page Performance How To Write For The Web If it needs instructions, there's room for improvement. Give users what they actually want, not what they say they want. And whatever you do, don't give them new features just because your competitors have them! No members have liked this post.
Last edited by Princeton; 17 Oct 2006 at 12:24. |
#24
|
||||
|
||||
Hey PRINCETON - Exactly... I'm trying to remove the box enclosing the Amazon script...
I tried the CUSTOM_SHELL template edit you suggested above - And it didn't work. What do you mean by "other" template? I've looked at all GTCUSTOM PAGES Templates and the code you suggested is only on the CUSTOM_SHELL... Jacquii. No members have liked this post.
|
#25
|
||||
|
||||
the template you need to edit is "gtcustom_mypage"
however, if you edit that template other custom pages will have the same look (eg. no 'wrapper')
__________________
Former vBulletin.org Staff Member Latest Articles: Liquid Layout = Less Ad Revenue? How to Monetize Your Site Improve Web Page Performance How To Write For The Web If it needs instructions, there's room for improvement. Give users what they actually want, not what they say they want. And whatever you do, don't give them new features just because your competitors have them! No members have liked this post.
|
#26
|
||||
|
||||
hey PRINCETON - just threwup a gallon of tainted beer - so trust me - I totally used to "no wrapper" :P ------ OK OK OK - more than enough info etcetera...
custom_mypage template:
What do I edit? Jacquii. btw - thank you everso kindly for helping me out with this issue. Perhaps I'll sleep for 24hrs and get over the throwup spree LOL :lick: No members have liked this post.
|
#27
|
||||
|
||||
remove everything except ... $vbphrase[content]
__________________
Former vBulletin.org Staff Member Latest Articles: Liquid Layout = Less Ad Revenue? How to Monetize Your Site Improve Web Page Performance How To Write For The Web If it needs instructions, there's room for improvement. Give users what they actually want, not what they say they want. And whatever you do, don't give them new features just because your competitors have them! No members have liked this post.
|
#28
|
||||
|
||||
GREAT - thanx PRINCETON! Much appreciation
Jacquii. No members have liked this post.
|
#29
|
||||
|
||||
Great mod! One brief question..
If I wanted one of my custom pages to "act" as the home page (like a portal) when someone visits my site url as usual, how would I do this? Many thx! No members have liked this post.
Last edited by texasf1racer; 08 Nov 2006 at 09:14. |
#30
|
||||
|
||||
Originally Posted by texasf1racer
rename your forum index page (option can be found in admincp) to forum.php ...
now, rename the custom page to index.php NOTE: This hasn't been tested.
__________________
Former vBulletin.org Staff Member Latest Articles: Liquid Layout = Less Ad Revenue? How to Monetize Your Site Improve Web Page Performance How To Write For The Web If it needs instructions, there's room for improvement. Give users what they actually want, not what they say they want. And whatever you do, don't give them new features just because your competitors have them! No members have liked this post.
|
![]() |
![]() |
||||
Article | Author | Type | Replies | Last Post |
GTCustom Pages - Create Custom Pages With Ease | Princeton | vBulletin 3.5 Add-ons | 160 | 17 Jun 2010 23:40 |
«
Previous Article
|
Next Article
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Article Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 18:48.