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)

JBMoney 10-05-2002 03:59 PM

Easy... I don't have any problem with the script. I think it works great.

1. If I move an older article to the 'news' forum, the page text doesn't display on vbHome. I probably just need to re-index, or use the script you just provided. No big deal either way. I was thanking you for providing the script, not asking for help.

2. For some reason, the new 'news' forum won't display attachments. There's nothing I can find to prevent it from doing so. I'm no newbie either. I've exhausted all options in the admin panel, so I will look in the database next. Again, no big deal, mainly just want to know I can do it if I want to.

GuruXL 10-05-2002 05:07 PM

I just got through a 30min help session with TECK, he is a great guy, he was patient and persistant as to know what the problem was, he even sent me one of his bug-free file to upload.

Thanks TECK,

The script now works perfectly and we can all thank TECK, for a great job and a great script! ;)

TECK 10-05-2002 05:08 PM

JBMoney, i will help you fix all the probs.. give me few mins ok?

TECK 10-05-2002 05:20 PM

ok JBMoney, add me to your msn messenger. my handle is: nakkid@msnDOTcom
then message me.. :)

Smoothie 10-05-2002 05:24 PM

Quote:

Originally posted by TECK
smoothie, nobody encountered those 2 specific problems, let's take a closer look toghether, ok?
most of the time, you get a parse error when you forget a bracket.
the code you add should look like that:
Code:

      $postid=$DB_site->insert_id();
      if ($foruminfo['forumid']==$articleforum) {
        $DB_site->query("UPDATE thread SET articleid=$postid WHERE threadid=$threadid");
      }

      indexpost($postid,1);

for the permissions, please check your forum perms, there is your problem.
let me know please. pm me also the vbHL test page url so i can look at it also. thank you.

tip: always clean your browser cache, before you download a new file from vBulletin.org. sometimes it holds in the temp files an older file.

Teck, first problem solved, no more parse error. The second problem with the latest threads showing a private forum, i have that forum set as private, it doesn't show on the forums main page, only visible to admins and mods. But, on the vbHome page it still shows the latest threads from tha forum???? And I did download the latest file, from post number one, should I re-download it?

Smoothie 10-05-2002 05:29 PM

Quote:

Originally posted by TECK
smoothie, i know for sure you dont have the latest file downloaded... the focus is on Search field (the cursor is flashing there) instead of the "your username and password".

also, i dont see the article text. that's normal if you installed > posted > uninstalled > installed > etc...
read this:
https://vborg.vbsupport.ru/showthrea...923#post305923

Hmm, I see the focus on the username and password field. And yes, for some reason, the articles aren't showing. This is a first time install.

JBMoney 10-05-2002 05:39 PM

I know he's a great guy. I've followed this thread almost since day one, through all the versions. I don't think I really need much help, just some input to work things out on my own. I've resolved the other two issues and have one new one.

OLD: I used vbhlindex and it took care of the old articles, as I expected. I was just making you aware that the problem might extend to new installations as well as upgrades. That's complete.

OLD: I was able to get attachments to display in the 'news' forum, but I honestly don't know how. I re-indexed, deleted the old test thread, made a new one, and it worked. It doesn't display on vbHome, but I'm not real concerned about that, because you can't really place attachments anyway. Maybe I'll revisit it later.

NEW: Poll issue. I originally had the polls disabled, in vbHome options, while I took care of the other stuff. When I enabled them, and posted a poll to the 'news' forum, it didn't show on vbHome.

I have the '$latestpoll' placed and all the forum perms are set correctly, and the 'Allowed Users to post a poll' is set to my userid.

Is there something I'm missing on that? The polls do show up in the article list.

This is a test page, so it's got just filler in it right now, but the '$latestpoll' is right between the two bars under the search form:

http://bushwhacked.net/test.php

The top two items in the article list are polls.

nokia8860 10-05-2002 05:51 PM

I just uploaded the vbhl indexer file to my admin directory. Ran it from the browser and BANG. All my previous post in my news section appeared!!!!! Couldnt get any easier than that!

So if you are running a version of vbhl 3.3 without the indexer redownload your the file and just upload the vbhlindex.php to your forums/admin dir and run it. Its that easy peasy!

For forum permissions I have discovered that all private Main and forums that are below it must have each group in the private fourm red.

If you goto your cp panel click under Forums & Moderators > Permissions you will see what permissions you have on the forum. On your private main category you will notice user groups in red. IF you forums in this main private category are BLUE it will show on the vbhl indext page. Change all these blue to red and that will fix it.

By default when you make a private main category and a private forum underneath and specifiy that they are private it is all red. Only when you start doing some customizing access and not check your forum permission will you have private topics appear on the homepage.

I know, cuz I overlooked this tiny step becuase I was setting permissions all wrong and had my private forums all over the home page.

This hacks works as promise and its 99.999999% of the time a user error to why its not working. and that smal .0000001% TECK will be here with the fix!

TECK 10-05-2002 06:07 PM

Smoothie, ya... i recommend you to redownload the file and read the newthread.php changes. they are minor, but it helps on some sql versions.
read more here how to download the new file.
the permissions are all set based on your settings. vbHL reads exacly what you tell it to do, and does it.

JBMoney, i could make it a new option if you want for images and attachments, is not hard. then you will have it in your admin CP to enable it or disable it.
it goes the same way for you to. read more here how to download the new file. it will probably solve the polls issue you have (i'm sure actually).

let me know people if you would like to have them all of you added those 2 options: attachments and images.

TECK 10-05-2002 06:17 PM

guys? are you getting the updates i send you through the "Send Update to users" option provided here at vBulletin.org???

Dean C 10-05-2002 06:27 PM

can i have the password then floren... im going to set this up and see how it goes :D

Regards

- miSt

TECK 10-05-2002 06:32 PM

sure mist. :)
please read the copyright rules and post here or pm me the url. thank you.

Goldknight 10-05-2002 07:28 PM

Quote:

Originally posted by TECK
guys? are you getting the updates i send you through the "Send Update to users" option provided here at vBulletin.org???
I just click your "install" so can you do that? I ll check it out to see if I get it or not. Thanks

TECK 10-05-2002 07:33 PM

i will wait for other members to answer, Gold.. i dont want to send spam email to people just to test the system... let's wait toghether to see what others say, ok? :)

Goldknight 10-05-2002 07:42 PM

*shrug* ok, so what did I miss? any new or add? Did you update yours recent or? Last I know that you update the file with (s) problem such as "1 comments" not "comment" Is there more than that? I read all pages and track everything. Thats why I ask you cuz I m not sure if I miss anything.

JBMoney 10-05-2002 07:47 PM

The images work fine. It's just attachments. It would be nice to have an attachment on/off switch for vbHome, but I wouldn't worry about it, unless other folks want it. I can live without it.

Are you saying that running vbhlindex again would help with my poll display issue? If so, I can definitively tell you it doesn't. Ran it twice now.

LeeCHeSSS 10-05-2002 07:50 PM

Now that's a good idea TECK, looking forward to that article indexer.

TECK 10-05-2002 08:04 PM

leechesss, it's already released the indexer. download the zip file again.

refertech 10-05-2002 08:16 PM

All went well. Installation was as easy as you said it would be TECK only a few questions. Why would my main board logo work on the board view but not the home page view. I must have set something wrong. Where can i correct this link for that and the Articles Forum id? Im not really sure how to know what that is? I dont have anything displaying in the center of my Home Page just the recent post on the left.

Sorry for the silly questions, im new.

Thanks,

Mark

Goldknight 10-05-2002 08:18 PM

Quote:

Originally posted by TECK
leechesss, it's already released the indexer. download the zip file again.
indirect answer but finally answer my QQ....

TECK 10-05-2002 08:30 PM

Quote:

Originally posted by refertech
All went well. Installation was as easy as you said it would be TECK only a few questions. Why would my main board logo work on the board view but not the home page view. I must have set something wrong. Where can i correct this link for that and the Articles Forum id? Im not really sure how to know what that is? I dont have anything displaying in the center of my Home Page just the recent post on the left.

Sorry for the silly questions, im new.

Thanks,

Mark

congrats Mark. :)
now for the links, please make sure you follow step 4 in readmefirst file.
please pm me the exact url of your page and i will let you know exacly what is the problem.

cheers.
ps. i'm going to get a pack of ciggies, i'll be back in 10min. :)

JBMoney 10-05-2002 08:48 PM

I can get everything else to display except the poll (e.g., '$advertisement', '$links'). Easy question - If the poll was displaying, exactly what template does '$latestpoll' pull? Maybe I'm missing the template for some reason.

I thought it was home_pollresults.

Any specific field in the database that triggers it? I could double check that to make sure the admin panel is doing the job right.

TECK 10-05-2002 08:51 PM

there are several templates JBMoney, in function of what's happening with your poll... if you are quest, if you are member, if you are member and voted, if the poll is closed... they are all named home_pollxxxxxxx

the story is this, most people who have problems, is because they kept their old templates... from previous versions.
when you do an install you must revert your templates to original, the same way like you do with vBulletin.

JBMoney 10-05-2002 08:54 PM

Yeah, I understand that. But basically, it pulls one 99.9% of the time. Nevermind.

TECK 10-05-2002 09:08 PM

ok, refertech. i got your pm. first you need to follow closely step 3. make sure you set in your vbHL index.php file the correct path.
in step 3 there are detailed instructions how to do it.

also when you open your vbHL index.php file (not the forum index.php file), at the top you will see the path. enter the correct information and everything will work great.

now, the logo will not show because the {imagesfolder} variable is not set to the full path, for example:
http://www.microsoft.com/forum/images (even them they realised how good is vBulletin.. hehe)

also, in your vbulletin options, make sure you set the correct URL, for example:
http://www.microsoft.com/forum (without the slash at the end)

finally, follow step 4 closely. that should solve your problem.

good luck. take you time and i hope the coffee is good. :)
we all need it when we code...

Goldknight 10-05-2002 09:09 PM

Nakkid, I wonder is it possible to get vbHL to use two News forums, since I d like to use VBHL to add the News and Announcements. These forum are different section, so is it possible to use two News forums with VBHL and put it on VBHL index? If so how? Thanks

TECK 10-05-2002 09:10 PM

heh, now we do hacks for my script... :)
i will post in few minutes how to do it gold...

LeeCHeSSS 10-05-2002 09:20 PM

Quote:

Originally posted by TECK
the story is this, most people who have problems, is because they kept their old templates... from previous versions.
when you do an install you must revert your templates to original, the same way like you do with vBulletin.

I reverted all templates, uninstalled 3.2 completely. Then I installed 3.3; after which the poll stopped working. *sobs*

The indexing script worked fine though :)

KingsFan 10-05-2002 09:34 PM

Quote:

Originally posted by TECK
guys? are you getting the updates i send you through the "Send Update to users" option provided here at vBulletin.org???
Teck - I'm not getting the email updates. I think I got one a few days ago but that was it.

TECK 10-05-2002 09:36 PM

leechesss, find this code and remove it:
Code:

and $poll['pollid']
let me know if that fix it.

Smoothie 10-05-2002 09:53 PM

nokia8860-

Thanks for that tip. Forum permissions set, and now Latest Threads don't show private forums on vbHome.

Smoothie 10-05-2002 10:07 PM

Teck-

Indexer worked great. May I ask a small favor? Is it possible to have a "read more" when the article length is loinger than the allowed characters for the news posts? And one last question. Will you be adding news icons to the next version? That would make this news script beyond awesome if you could do that

Goldknight 10-05-2002 10:08 PM

Great!! thanks, I m going to try that out right now

Smoothie 10-05-2002 10:26 PM

Teck, should we still do that with the poll code if its working fine?

TECK 10-05-2002 10:34 PM

ya.

JBMoney 10-05-2002 10:40 PM

That got it the poll table to display. But it's trying to pull info from a thread in another forum, that isn't even a poll. Take a look, top article is the poll.

http://bushwhacked.net/test.php

Not a thread I posted either and I'm the only user set to post polls in 'News'.

refertech 10-05-2002 10:43 PM

humm, me still scratching my head. I have done steps 3 and 4, 3 different times. shoot. I'm still getting that poll error i PM'd ya with and thats even after i made the above changes to the vbh lite index.php file. But thats ok. I dont have to use the polls. Still a freaking great hack man. But my images. All of them show up except the vbulletin logo. Mark is scratching his head wondering if a Coor's Light would help him. :)

Thanks,

Teck

JBMoney 10-05-2002 10:45 PM

Quote:

Originally posted by refertech
wondering if a Coor's Light would help him. :)
Couldn't hurt...

refertech 10-05-2002 11:03 PM

[high]* refertech agrees at this point. :)[/high]

TECK 10-05-2002 11:32 PM

Poll and "Read More" link (if over xxxx characters) Update:
Redownload the package and upload to your server ONLY the vbHL index.php file.
Then, create a template called home_articlelink, with the content:
Code:

<nobr><smallfont> ...<a href="$bburl/showthread.php?s=$session[sessionhash]&threadid=$article[threadid]">Read More</a></smallfont></nobr>
About the poll, here it is the problem we fight:
I have there a JOIN that saves all and and also it doesnt bring any queries on the loop, so it's faster. The issue is all in the query, not somewhere else.
Let's see if the minor change I did will get it work for everyone.

If you didnt do any major editing and you can afford to start from scratch, go ahead... :)


All times are GMT. The time now is 09:25 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.03816 seconds
  • Memory Usage 1,838KB
  • 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
  • (3)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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