vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   How to create your own vBulletin-powered page! (uses vB templates) (https://vborg.vbsupport.ru/showthread.php?t=62164)

ragtek 02-28-2009 11:43 AM

post pls the complete php file

Adem GEN? 02-28-2009 12:16 PM

This coding beginner job:)))



Thank you

Adem GEN? 03-01-2009 08:34 AM

Hello,

A request from you last

This is very important for me

I could not do

Request, Can you add this in the xml file?
Code install and unistall

PHP Code:

CREATE TABLE telefon_listesi (
    
telefon_id INT UNSIGNED NOT NULL AUTO_INCREMENT,
    
userid INT UNSIGNED NOT NULL DEFAULT '0',
    
kullanici_adi VARCHAR(100NOT NULL DEFAULT '',
    
telefon_sahibi_adi MEDIUMTEXT,
    
telefon_sahibi_soyadi MEDIUMTEXT,
    
aciklama MEDIUMTEXT,
    
ev_tel_kodu VARCHAR(47NOT NULL DEFAULT '',
    
ev_tel_numara VARCHAR(47NOT NULL DEFAULT '',
    
is_tel_kodu VARCHAR(47NOT NULL DEFAULT '',
    
is_tel_numara VARCHAR(47NOT NULL DEFAULT '',
    
cep_tel_kodu VARCHAR(47NOT NULL DEFAULT '',
    
cep_tel_numara VARCHAR(47NOT NULL DEFAULT '',
    
PRIMARY KEY (telefon_id),
    
KEY ekleyen_kullanici_id (userid)


AND
NavBar and Quick Links automatically into the "Telefon Rehberi" link to be added (No translation phrase) (Note: Text color Red "Telefon Rehberi")
URL: telefon_rehberi.php

Thank you

Ian_W 03-01-2009 02:46 PM

Works fine - thanks :)

Just one question though :)

Currently all pages appear in the navbar as...

SITE NAME
--> Sub Page

Is there anyway to have.....


SITE NAME > Group
--> Sub Page

Thereby having parent pages, which then go to sub-pages? Allowing people to navigate up in the order of pages?

I am also assuming there is noway to have the php pages above the level of the forums folder?

(Unless there is a better solution out there for a larger number of pages for a site, based around VB?)

Thanks.

ragtek 03-02-2009 08:14 AM

@ AdemGEN?
you should use the vb Databaseclass! https://vborg.vbsupport.ru/showthrea...ht=datamanager

and del
PHP Code:

define('NO_REGISTER_GLOBALS'1); 

it's not needed!


@ Ian_W
add $navbits[$parent] = 'group';

Adem GEN? 03-02-2009 05:45 PM

Quote:

Originally Posted by AdemGEN? (Post 1757453)
Hello,

A request from you last

This is very important for me

I could not do

Request, Can you add this in the xml file?
Code install and unistall

PHP Code:

CREATE TABLE telefon_listesi (
    
telefon_id INT UNSIGNED NOT NULL AUTO_INCREMENT,
    
userid INT UNSIGNED NOT NULL DEFAULT '0',
    
kullanici_adi VARCHAR(100NOT NULL DEFAULT '',
    
telefon_sahibi_adi MEDIUMTEXT,
    
telefon_sahibi_soyadi MEDIUMTEXT,
    
aciklama MEDIUMTEXT,
    
ev_tel_kodu VARCHAR(47NOT NULL DEFAULT '',
    
ev_tel_numara VARCHAR(47NOT NULL DEFAULT '',
    
is_tel_kodu VARCHAR(47NOT NULL DEFAULT '',
    
is_tel_numara VARCHAR(47NOT NULL DEFAULT '',
    
cep_tel_kodu VARCHAR(47NOT NULL DEFAULT '',
    
cep_tel_numara VARCHAR(47NOT NULL DEFAULT '',
    
PRIMARY KEY (telefon_id),
    
KEY ekleyen_kullanici_id (userid)


AND
NavBar and Quick Links automatically into the "Telefon Rehberi" link to be added (No translation phrase) (Note: Text color Red "Telefon Rehberi")
URL: telefon_rehberi.php

Thank you

Request
Insert XML into the database structure may know?




Quote:

Originally Posted by ragtek (Post 1758306)
@ AdemGEN?
you should use the vb Databaseclass! https://vborg.vbsupport.ru/showthrea...ht=datamanager

and del
PHP Code:

define('NO_REGISTER_GLOBALS'1); 

it's not needed!

I set this problem in your way, thank you.

TNCclubman 03-03-2009 03:38 AM

What code do I add to the php file to get it to display Todays Events and Todays birthdays?

--------------- Added [DATE]1236061865[/DATE] at [TIME]1236061865[/TIME] ---------------

How do I get my recently uploaded ALBUMS to show in the page I created? (just from my account... (ie user=29 for example)

rob4448585 03-03-2009 06:47 AM

Quote:

Originally Posted by Gary King (Post 482210)
Then find:
PHP Code:

        case 'modcplogin':
            
$userinfo['action'] = $vbphrase['moderator_control_panel_login'];
            break; 

Below add:
PHP Code:

        case 'test':
            
$userinfo['action'] = 'Viewing Test Page';
            break; 


this whole thing has been a great help, i built some pages, but when i see them in the whos online section, it says unknown location


i was never able to add this last part in my 3.8.1 vbulletin functions_online.php cause i could not find the above string.
Can anyone help?
Thanks

ragtek 03-03-2009 06:59 AM

You don't need to edit any file!
Pls read: https://vborg.vbsupport.ru/showthrea...ghlight=online

Adem GEN? 03-03-2009 08:24 AM

Quote:

Originally Posted by ragtek (Post 1759101)
You don't need to edit any file!
Pls read: https://vborg.vbsupport.ru/showthrea...ghlight=online

Thank you, my job was very useful

For XML
Fo to add navbar link AND To enter the database table structure

Link information?

Thanks


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

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02872 seconds
  • Memory Usage 1,769KB
  • 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
  • (6)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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