vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Custom Pages. (https://vborg.vbsupport.ru/showthread.php?t=168647)

John3971 01-24-2008 03:36 PM

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.

John3971 01-27-2008 02:27 PM

Anybody that can help?

cheesegrits 01-27-2008 08:45 PM

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

Lynne 01-27-2008 09:07 PM

Quote:

Originally Posted by cheesegrits (Post 1430341)
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.)

John3971 01-27-2008 09:13 PM

Quote:

Originally Posted by Lynne (Post 1430355)
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.

cheesegrits 01-27-2008 09:22 PM

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

John3971 01-31-2008 11:33 AM

took a little longer but i have update my first post.

cheesegrits 01-31-2008 01:40 PM

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

-- hugh

John3971 01-31-2008 01:52 PM

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.

cheesegrits 01-31-2008 05:35 PM

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


All times are GMT. The time now is 02:29 PM.

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.01015 seconds
  • Memory Usage 1,738KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete