vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   X vbwebportal v. 2.0 (https://vborg.vbsupport.ru/showthread.php?t=59507)

daniely 01-02-2004 12:00 PM

X vbwebportal v. 2.0
 
1 Attachment(s)
now i have a downloadable version!

Yes it is made from frames but it still is a portal.

Sorry no more demo because on my site I am using vbindex!
I will have a demo when I finish however!

The demo has yellow frames, however the real version has frames to match the VBulletin default template!

Changes since v 1.0:
.Added top and user info frame
.Changed background color to match vbulliten default style
.Added downloads section and survey section

edit: I attached the file!

assassingod 01-02-2004 12:04 PM

Since this 'hack' doesn't modify any vB files then it's not hack. Also, better to attach the file so unlicenced members can't get it.

daniely 01-02-2004 12:05 PM

it wont let me attach it!

dont know why?

daniely 01-02-2004 12:07 PM

oh, and this is a web portal and there is no NON-HACK webportal forum so I have to post it here!

assassingod 01-02-2004 12:10 PM

It can be considered as a template modification, but it can't be posted in here.

daniely 01-02-2004 12:11 PM

well, there are some optional file edits but i didnt put them in the files.

Logician 01-02-2004 01:13 PM

Provided that it is a PHP code/script, it is welcomed here in "hack" forums. It does not necessarily need to hack vbulletin scripts, it can be an "add-on".

Template Modification Forums are for HTML (visual) customization of vbulletin via its templates and add-on PHP scripts do not belong there.

daniely 01-02-2004 01:20 PM

so are you saying it can stay or it has to move?

Logician 01-02-2004 03:31 PM

It can stay provided that it is a vbulletin related add-on. I didn't yet check the source code but if it is a script that integrates with vbulletin (in other words should it require people to have vbulletin to install it), this is the correct forum and it can stay. But if it is just a "site main page" that works whether you have vbulletin or not, this is not the correct place to release it.

Koutaru 01-02-2004 03:33 PM

I could have sworn Erwin moved this last night... *blinks a couple times*

Dean C 01-02-2004 03:34 PM

To add to what Logician said please attach the zip file to the first post nevertheless. Thanks

daniely 01-02-2004 03:36 PM

it requires vbulliten!

If not it does not work!

daniely 01-02-2004 03:39 PM

file attached!

Koutaru 01-02-2004 03:40 PM

Quote:

Originally Posted by daniely
it requires vbulliten!

If not it does not work!

Is that only because you've created forums for "Downloads" and "News" and the portal links to those?

It should only run on vb because you've used forumdisplay.php as a frame.

daniely 01-02-2004 03:44 PM

I have tested it with other forums it only works with vbulletin!

daniely 01-02-2004 03:55 PM

however, with some editing you could get it to work with something else its just built for vbulletin!

Zachery 01-02-2004 04:07 PM

its not even properly done.

to do it properly youd need to make the connection to global.php in any of your php files so you will pickup the session id.

and your php pages are nothing more than html :)

daniely 01-02-2004 04:09 PM

i am new to this and I tryed and it failed!

besides it still is fun to use and easy to install!

daniely 01-02-2004 04:12 PM

I will redo it if someone can teach me how to make it reconize if you are logged in or not!

Zachery 01-02-2004 04:17 PM

that would require actual hacking, id suggest looking at the vBulletin files source code :)

daniely 01-02-2004 04:18 PM

where in the code?

I looked and looked but cant find it!

Zachery 01-02-2004 04:21 PM

youd need to change quite abit of your portal around if your going to use real php, once you add php coding youd then need to either echo out the html or call the templates

daniely 01-02-2004 04:36 PM

ok, i am working on it but I have to questions!

1. how can I make blocks on the side bar and such?
2. How do I make it display the news?

Zachery 01-02-2004 04:40 PM

its all templates and html

im sorry but if you dont know how to code html id stay far away from hacking untill you get more of a hang of things

daniely 01-02-2004 04:42 PM

i know HTML just not PHP!

Zachery 01-02-2004 04:42 PM

blocks are just tables.

daniely 01-02-2004 04:46 PM

i know, I mean how can I link the block from another file?

Zachery 01-02-2004 04:46 PM

another file?

daniely 01-02-2004 04:48 PM

like this

include ('blocks/online.php');

how would I displat that has a block?

Zachery 01-02-2004 04:51 PM

eh i never dove into that aspect, why call a whole file though?

why not just add the proper php code to your scripts and call a template?

daniely 01-02-2004 04:55 PM

ok, what I want to do is like this

block Title Block
block Arcade block
block Status block
block News
block news
block news
block

SOmething like that!

However, the block would be stored in another file and/or template!

Zachery 01-02-2004 04:58 PM

id suggest looking at the vBulletin files

but for starts

lets learn you how to connec to global.php

chdir('/path/to/forums');
require_once('./global.php');

and how to show one template
eval("dooutput(\"".gettemplate('templatename')."\" );");

daniely 01-02-2004 05:06 PM

ok, but how would I display news?

Zachery 01-02-2004 05:08 PM

this really should be moved to help me finish


but your going to need to learn to querry the site and such, you can still use frames if you wish

daniely 01-02-2004 05:33 PM

no, I wont use frames.

can you PLEASE explain this!

Koutaru 01-02-2004 06:18 PM

I suggest, if you're going to actually learn php code and mysql, to install some hacks first. It'll help you get familiar with the vbulletin system and give you a general idea of what hacks need. I wouldn't just rush to make a hack.

Zachery 01-02-2004 10:10 PM

i agree with Koutaru

Logician 01-03-2004 08:00 AM

Since the thread started to be "how can I do this and that", I'm moving it to General Discussions forum for now. (We dont have help me finish forum anymore) :)

daniely when your hack is ready to be released, either let me know and I'll move it back or you post once again. :)


All times are GMT. The time now is 07:55 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.01170 seconds
  • Memory Usage 1,773KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (38)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete