Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-24-2008, 03:36 PM
John3971 John3971 is offline
 
Join Date: Sep 2007
Location: Sweden
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Custom Pages.

hey i never get any help with this when i write here so im looking for someone that is good on php and vb that can help me with some custom pages? i know its a guide how you make them but i need to fix more then thoose guides can help me with so if you wanna help me with this send a pm to me, i don?t think this is to hard if you are good. i can not pay with money but you can get a link on the website to your website.


EDIT:

i will try to explain better here now.
i wan?t it to show the latest news like i got it to do and i wan?t index.php?do=add to be a page where i add to the database and you should be able to limit the access of that one to only admin/mods and when you go to index.php?newsid=id (or something) you should see the news with that id only.
Reply With Quote
  #2  
Old 01-27-2008, 02:27 PM
John3971 John3971 is offline
 
Join Date: Sep 2007
Location: Sweden
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anybody that can help?
Reply With Quote
  #3  
Old 01-27-2008, 08:45 PM
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
Posts: 500
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think you'll have to post a little more information before you get any bites. You gotta bait your hooks. Or chum the water. Or some such fishing analogy. You can't just stand there with your pole yelling "Here fishy fishy fishy!"



-- hugh
Reply With Quote
  #4  
Old 01-27-2008, 09:07 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by cheesegrits View Post
I think you'll have to post a little more information before you get any bites. You gotta bait your hooks. Or chum the water. Or some such fishing analogy. You can't just stand there with your pole yelling "Here fishy fishy fishy!"



-- hugh
Well, he can, but he might not get any nibbles.

Most people will help out if it is either something they have done before, so it's easy to give advice, or it's something of interest to them. So, you really need to say a little more if you want to get people interested in helping you.

(It also doesn't help that guests aren't allowed to view your forums so noone can even see what your site is like or about.)
Reply With Quote
  #5  
Old 01-27-2008, 09:13 PM
John3971 John3971 is offline
 
Join Date: Sep 2007
Location: Sweden
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Well, he can, but he might not get any nibbles.

Most people will help out if it is either something they have done before, so it's easy to give advice, or it's something of interest to them. So, you really need to say a little more if you want to get people interested in helping you.

(It also doesn't help that guests aren't allowed to view your forums so noone can even see what your site is like or about.)
well i will explain more tomorow but i don?t see why ppl need to see more about my site and what it is about because what i need help with have nothing to do with what my site is about.
Reply With Quote
  #6  
Old 01-27-2008, 09:22 PM
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
Posts: 500
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well that's kind of the point Lynne and I are trying to make. It's extremely unlikely anyone is going to PM you asking for how they can help you, with absolutely no indiciation of what it is you need.

Post a clear and concise description of what you want to do, and most likely someone who has done it before, or finds the question interesting in some way, will give you some pointers.

This forum is very busy, and the folk who answer questions here tend to be busy. So they kinda skim thru looking for interesting stuff, or stuff they can answer off the top of their heads. If you don't explain what you want, most of them will just skip your thread and move on.

-- hugh
Reply With Quote
  #7  
Old 01-31-2008, 11:33 AM
John3971 John3971 is offline
 
Join Date: Sep 2007
Location: Sweden
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

took a little longer but i have update my first post.
Reply With Quote
  #8  
Old 01-31-2008, 01:40 PM
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
Posts: 500
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

By "news" do you mean posts in a certain forum?

-- hugh
Reply With Quote
  #9  
Old 01-31-2008, 01:52 PM
John3971 John3971 is offline
 
Join Date: Sep 2007
Location: Sweden
Posts: 258
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no i have right now fix a own tabel for the news where it gets it. if you wanna help me with this i can send you the index.php i have right now.
Reply With Quote
  #10  
Old 01-31-2008, 05:35 PM
cheesegrits's Avatar
cheesegrits cheesegrits is offline
 
Join Date: May 2006
Posts: 500
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just post what you have here.

Short answers, you can control access to do="add" using the is_member_of() function:

http://members.vbulletin.com/api/

... under "Functions".

For newsid=X you would simply use X in a query on your table, and have a template that display the results. Standard vB stuff.

-- hugh
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 01:29 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03811 seconds
  • Memory Usage 2,248KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete