vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vbHome (lite) - your vBulletin(powered) main homepage (https://vborg.vbsupport.ru/showthread.php?t=36756)

BeatDown 11-07-2002 09:21 PM

Quote:

Originally posted by TECK
thanks beatdown :)
btw very nice job on customizing vbHL... at the first look, i thought it was phpportals.. lol.

NP, Teck. I can help out a bit here, now that I've been through the install and customized it a bit.

Checking up on me, eh? :)

Thanks for the kudos on the site! Couldn't have done it anywhere this easily without vbHL. I really wanted a 3-Column home page for our site.

BeatDown 11-07-2002 09:25 PM

Quote:

Originally posted by camikazi2k


i followed every single step all over
and i am running 2.2.8

1) What LeeCHeSSS said. To even begin to be helpful, we need to have some info.

2) With every post I've read, and my own experiences, albeit only the past few weeks, with vbHL, if every letter of the instructions are followed and no errors are reported during the install, then it works.

BeatDown 11-07-2002 09:28 PM

Quote:

Originally posted by camikazi2k


i meant that
and i have my own buttons just want to know which template i need to edit
thank you

Ah.

For vbHL, edit the home_header template under "Home Page Templates".

For vb itself, edit the header template.


Hope this helps.....

slideboxer 11-07-2002 09:40 PM

I noticed that when 1 journalist acquired their avatar the vbhl way, that the other journalists that didn't have an avatar selected displayed his avatar on the home page. This all changed when another journalist took an avatar the vbhl way. Am I making sense? :)

Gutty 11-07-2002 09:42 PM

Quote:

Originally posted by Gutty


Quote:

Originally posted by Gutty

hey,

is it possible to set the news posting group to multiple user groups, cause i have thousands of user groups and tey all are different permissions for diff forums....

?




.....
[high]* Gutty waits for help.[/high]

TECK 11-07-2002 09:42 PM

you have to upload avarats for each journalist. once you assign a journalist to the group, ask him (or you do it) to either send you the picture, or upload for him a picture with his name.. so he knows it belongs to him, not to someone else.

gutty, ya it's possible. it needs to be hacked, the vbHL file. i will not do this. sorry.
anyone else feel free to release a hack for it, i will link it to first post.

wolfe 11-07-2002 11:16 PM

Quote:

Originally posted by LeeCHeSSS
Do you really think you can fool us by quickly replacing it? Anyway I won't bother with helping you...
the problem was i changed it from using the

home_headinclude
home_header
home_fotter

to my default ones

headinclude
header
footer


thats why it changed i have fixed it now sorry about that :(

nocturnix123 11-08-2002 01:40 AM

Okay, i would like to have a poll on my vbhome lite page, but i want to do it without a new article...ie i want just the poll, not the post that shows in the news on the frontpage...there must be a way, how would i go about doing this?

Thanks,

nocturnix

BeatDown 11-08-2002 02:35 AM

Quote:

Originally posted by nocturnix123
Okay, i would like to have a poll on my vbhome lite page, but i want to do it without a new article...ie i want just the poll, not the post that shows in the news on the frontpage...there must be a way, how would i go about doing this?

Thanks,

nocturnix

Post a poll in a forum that is not used for the vbHL news, by a user that is allowed to post polls. Both settings are in your Admin CP, under "vbHome Page".

Anitah 11-08-2002 05:38 AM

This is what I get on my testboard:

www.channelvip.com/index.php

If somebody would login and tell me what is wrong?

login: tester
passwd: test

I may not be understanding these instructions:

Still in your vBulletin Admin Control Panel, create a new usergroup, called Journalists (or whatever is more appropriate for your site) and assign to it the right permissions. You could also use a default usergroup, for example Moderators (id 7).
Remember what usergroup ID it's generated, you will need to enter this value in vbHome (lite) Options.


The same for this:

ARTICLES FORUM
When you create a new forum, in our case Web Site News, vBulletin automatically assigns a forum ID to it.
In this option, you enter your forum ID from where the articles will be clipped onto the vbHome (lite) front page.


Where does the ID appear when you create a Journalist usergroup? I only see an ID in Control Pannel/Options/vbhome Options.

Note also, none of the buttons direct me to the proper files.

Sorry, but I'm confused. I've followed the instructions but it's just not coming out right.

Smoothie 11-08-2002 06:04 AM

Admin cp, add usergroup. After you add the new usergroup, hold the mouse over the new group. The id of that group will appear in the bottom window of your browser. Same with the forum you wish to post news from. I made a new group called News Team, and a new forum called News. You then take that forumid number and insert in the box next to Articles Forum, under vbhome options in your admin cp. Same with the usergroup id number.

Smoothie 11-08-2002 06:10 AM

BTW, all you vbhomies, get in there and vote for Tecks hard work. Now!
https://vborg.vbsupport.ru/showthrea...threadid=45397
oops, forgot this guy-> :classic:

BeatDown 11-08-2002 11:48 AM

Quote:

Originally posted by Smoothie
BTW, all you vbhomies, get in there and vote for Tecks hard work. Now!
https://vborg.vbsupport.ru/showthrea...threadid=45397
oops, forgot this guy-> :classic:

Already done! w00t!!!! :cool:

camikazi2k 11-08-2002 01:04 PM

I am still trying to figure whats wrong
i reinstalled the vbhome twice
here is my site
http://www.hagasny.com
you can see everything working fine except IT DONT SHOW THE POST

WoodiE 11-08-2002 01:10 PM

Quote:

Originally posted by Smoothie
BTW, all you vbhomies, get in there and vote for Tecks hard work. Now!
https://vborg.vbsupport.ru/showthrea...threadid=45397
oops, forgot this guy-> :classic:


Well I just voted for the best hack vBulletin has yet to see. GREAT work Teck, I look forward to seeing the full version and your site when its finished!


-WoodiE

camikazi2k 11-08-2002 01:18 PM

i had same problem when i installed VBINDEX2.1
the problem was a template error i forgot ot install forum_home
but there is no template modification in vbhome any idea
here is the problem in vbindex
https://vborg.vbsupport.ru/showthrea...&pagenumber=19

BeatDown 11-08-2002 02:47 PM

Quote:

Originally posted by camikazi2k
I am still trying to figure whats wrong
i reinstalled the vbhome twice
here is my site
http://www.hagasny.com
you can see everything working fine except IT DONT SHOW THE POST

What forum ID Number do you have set in your ADMIN CP for News Postings?

Anitah 11-08-2002 08:42 PM

Quote:

Originally posted by Smoothie
Admin cp, add usergroup. After you add the new usergroup, hold the mouse over the new group. The id of that group will appear in the bottom window of your browser. Same with the forum you wish to post news from. I made a new group called News Team, and a new forum called News. You then take that forumid number and insert in the box next to Articles Forum, under vbhome options in your admin cp. Same with the usergroup id number.
Thank you. It helps to know about identifying the id with the mouse. However, the id had already magically appeared in the vbhome options, so that doesn't seem to be the problem. I thought maybe I need to place the id somewhere else.

The problem that persists is as mentioned above in my post, but I'll reiterate so that maybe it's more clear. None of the posts in the news forum appear in vbhome (the front page) and the buttons are all linking to index.php.

If you have the time to check out the page you can see for yourself at:

www.channelvip.com/index.php

login: tester
passwd: test

Appreciate your help.

TECK 11-08-2002 08:51 PM

Anitah.. something went wront in the installation:
Code:

http://www.channelvip.splashhost.com/theplace/index.php/showthread.php?threadid=3
look at the url. it's not normal to show this.
you should check your steps again.

hypedave 11-08-2002 09:22 PM

I noticed yesterday I received 3 emails saying in the email subject that vbhome had been updated. what was updated in it ???

Anitah 11-08-2002 10:24 PM

Quote:

Originally posted by TECK
Anitah.. something went wront in the installation:
Code:

http://www.channelvip.splashhost.com/theplace/index.php/showthread.php?threadid=3
look at the url. it's not normal to show this.
you should check your steps again.

Argh. Ok. I've checked and rechecked. I will just have to start over.

ChrisR 11-08-2002 11:48 PM

I apologize in advance for not reading through the entire 127 pages in this thread. I've been through 1-37 and about 120-127.

I have been able to get it running without much problem (considering I'm new to vB and PHP).

Question 1) When I log out, the vb_bullet.gif doesn't load and the properties of it look like this:
http://my.site.net/vbulletin/http://my.site.net/vbulletin/images/vb_bullet.gif
I can get that particular .gif to load if I manipulate the {imagesfolder} style item back to just *images*, but then the rest of the images don't show up.

Question 2) I'm not really getting how to add other features like how many users are online/latest registered user/etc... to the page and how to format the information (top/left/right/etc..). I was able to follow the PM addition instructions, so maybe I just need some pointers on where to start cutting/pasting. I imagine the answer is buried somewhere in the other 90 thread pages I wasn't able to read. :ermm:

Thanks!
-Chris

hypedave 11-09-2002 01:27 AM

for question1 update the path in your replacements set "titleimage"

Anitah 11-09-2002 02:53 AM

Quote:

Originally posted by TECK
Anitah.. something went wront in the installation:
Code:

http://www.channelvip.splashhost.com/theplace/index.php/showthread.php?threadid=3
look at the url. it's not normal to show this.
you should check your steps again.

I just deleted the test database and started from scratch. Followed each step meticulously (for about the 4th time now), the result is exactly the same.

www.channelvip.com/index.php

CarlosC 11-09-2002 03:08 AM

Hi TEK..
I am trying to install the version 3.5 of your vBHome hack, and i am getting this message when i run the instalation script (vbhlinstall.php)=

Warning: Failed opening '/apache/htdocs/foro/admin/vbhlinstall.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0

I am hosting my site in my own system. My PHP, MySql and everithing else have been working fine for more than a month. Help please..

Smoothie 11-09-2002 03:25 AM

Anitah-

Run the vbhlindex.php, included in the admin folder inside vbhomelite folder

Smoothie 11-09-2002 03:27 AM

Quote:

Originally posted by TECK
Anitah.. something went wront in the installation:
Code:

http://www.channelvip.splashhost.com/theplace/index.php/showthread.php?threadid=3
look at the url. it's not normal to show this.
you should check your steps again.

Could it be Teck, that "theplace" is the directory that the forums are installed in?

Smoothie 11-09-2002 03:28 AM

Quote:

Originally posted by CarlosC
Hi TEK..
I am trying to install the version 3.5 of your vBHome hack, and i am getting this message when i run the instalation script (vbhlinstall.php)=

Warning: Failed opening '/apache/htdocs/foro/admin/vbhlinstall.php' for inclusion (include_path='.:/usr/local/lib/php') in Unknown on line 0

I am hosting my site in my own system. My PHP, MySql and everithing else have been working fine for more than a month. Help please..

Did you change the path in the vbhome index?

CarlosC 11-09-2002 03:33 AM

Now is working.. what i did was to give permision to de installer to execute in my server. That fixed the problem ("failed opening...")

Thanks smoothie!!

Anitah 11-09-2002 04:36 AM

Quote:

Originally posted by Smoothie
Anitah-

Run the vbhlindex.php, included in the admin folder inside vbhomelite folder

hmm ok. But you know, I didn't uninstall, I deleted the entire database and started clean with a new install of vbulletin 2.2.8
and vbhome.

Anitah 11-09-2002 04:38 AM

Quote:

Originally posted by Smoothie
Could it be Teck, that "theplace" is the directory that the forums are installed in?
Yes, theplace is the "forum." I had to give my test database a different name from my regular -forum-.

TECK 11-09-2002 04:56 AM

do you see something wrong below?
Code:

theplace/index.php/showthread.php?threadid=3

BeatDown 11-09-2002 05:01 AM

Quote:

Originally posted by TECK
do you see something wrong below?
Code:

theplace/index.php/showthread.php?threadid=3

Should be

Code:

theplace/index.php/showthread.php?s=&threadid=3
Maybe????

TECK 11-09-2002 05:03 AM

anitah, i just looked at your site and everything looks good except the title image and the bulletin board url... you have that index.php added extra to all your url's.
Code:

theplace/[high]index.php/[/high]showthread.php?threadid=3
there is some extra code in there...
also, after the install you must go setup your options.

your board url is not set correctly, you have an index.php extra there. when you place your mouse over the link it should look like that:
Code:

theplace/showthread.php?threadid=3

Anitah 11-09-2002 06:15 AM

anitah, i just looked at your site and everything looks good except the title image and the bulletin board url... you have that index.php added extra to all your url's.

None of the links work properly. If you try the buttons you'll see that they all link to the index page.


your board url is not set correctly, you have an index.php extra there. when you place your mouse over the link it should look like that:


I know it's wrong, I just don't know where the problem is to be found.

there is some extra code in there...
also, after the install you must go setup your options.


Sigh. I've done everything Teck. Four times (not counting the two times before I upgraded to 2.28). I have three index.php's - one in the root directory, which is the vbhome index, the other two are the original vbulletin files, one in the forum directory (i.e., theplace), the other in the admin directory (these I didn't change in any way).

I'm sure it's something very minor, but those are the hardest errors to find.

Anitah 11-09-2002 06:24 AM

Quote:

Originally posted by TECK
do you see something wrong below?
Code:

theplace/index.php/showthread.php?threadid=3

The 3 should be a 2? Yes, I've changed that in the options.

BeatDown 11-09-2002 08:11 AM

Quote:

Originally posted by Anitah


The 3 should be a 2? Yes, I've changed that in the options.

Actually, what TECK's talking about is the vBulletin setting for the URL of the BB. Open your ADMIN CP and check what the URL is set to. It's the 3rd Setting in the "General Settings" category of ADMIN CP.

Quote from ADMIN CP:
Quote:

URL
URL (with no final "/") of the BB. Do not include "/index.php" on the end! Your URL should look something like this: http://www.example.com/forum
Yours should read: http://www.channelvip.splashhost.com/theplace

Anitah 11-09-2002 09:18 AM

Fabulous BeatDown. That did the trick :)

Muchos Gracias!

X-Fan 11-09-2002 01:03 PM

If you want to have recent posts in your news forums show up in the Latest Forum Discussions list on your vBHome page, in vBHome's index.php find:

PHP Code:

  $iforumperms 'AND forumid<>' $articleforum ' AND forumid IN (' implode(','$iforumperms) . ')'

Replace with:

PHP Code:

  $iforumperms 'AND forumid IN (' implode(','$iforumperms) . ')'

Find:

PHP Code:

  if ($thread['forumid']!=$articleforum)
  {
    eval(
"\$threadbits .= \"".gettemplate('home_threadbits')."\";");
  } 

Replace with:

PHP Code:

eval("\$threadbits .= \"".gettemplate('home_threadbits')."\";"); 

Also, if you want your Latest Forum Discussions list to show the date/time/poster of the last post in a thread, rather than the default date/time/poster of the first post in the thread, in vBHome's index.php find:

PHP Code:

SELECT threadid,forumid,title,replycount,postusername,dateline,views 

Replace with:

PHP Code:

SELECT threadid,forumid,title,replycount,lastposter,lastpost,views 

Find:

PHP Code:

  $thread[time] = vbdate($timeformat$thread[dateline]);
  
$thread[date] = vbdate($dateformat$thread[dateline]); 

Replace with:

PHP Code:

  $thread[time] = vbdate($timeformat$thread[lastpost]);
  
$thread[date] = vbdate($dateformat$thread[lastpost]); 

In the home_threadbits template, find:

Code:

$thread[date] <font color="{timecolor}">$thread[time]</font> <a href="$bburl/member.php?s=$session[sessionhash]&action=getinfo&userid=$thread[postuserid]">$thread[postusername]</a><br>
Replace with:

Code:

$thread[date] <font color="{timecolor}">$thread[time]</font> by $thread[lastposter]<br>
Last but not least, if you're using the alt description hack to give your threads a sub-heading, and you want that sub-heading to show up on your vbHome index page, in vBHome's index.php find:

PHP Code:

  thread.lastposter,thread.dateline,articlepost.pagetext as pagetext 

Replace with:

PHP Code:

  thread.lastposter,thread.dateline,articlepost.pagetext as pagetext,thread.description 

In the home_articlebits template, find:

Code:

$article[title]</b></a>
Replace with:

Code:

$article[title]</b></a><br><smallfont>$article[description]</smallfont>

And the results of all the above will be what you see on the vBHome page at my X-Fan Web site!

camikazi2k 11-09-2002 02:35 PM

Quote:

Originally posted by BeatDown


What forum ID Number do you have set in your ADMIN CP for News Postings?

My article forum id is 31
JOurnalist group is 7 the moderator


All times are GMT. The time now is 10:51 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.06703 seconds
  • Memory Usage 1,879KB
  • 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
  • (14)bbcode_code_printable
  • (10)bbcode_php_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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