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)

TECK 10-04-2002 07:52 PM

thank you for installing my hack, hankster.

Shimmy 10-04-2002 08:31 PM

Teck - I have sent you a PM requesting the password

Thanks

TECK 10-04-2002 08:56 PM

thank you for installing my hack, Shimmy.

LeeCHeSSS 10-04-2002 10:56 PM

Just a suggestion for the other users: If you want to use the images in your style for the "print" and "email to friend" links, replace "print.gif" with "printer.gif" and "friend.gif" with "sendtofriend.gif" in the "home_articlebits" template

hypedave 10-04-2002 10:56 PM

Teck check your PM. It's Urgent!!!

LeeCHeSSS 10-04-2002 11:12 PM

Don't think I can try and help you hypedave?

GuruXL 10-05-2002 02:51 AM

Quote:

Originally posted by TECK
thank you guys for your words... is ok guys, i will speak to John about this issue to list somehow that is illegal to remove the 2 links or any part of the copyright.

if people continue this way, i will simply remove all my hacks and dont share nothing with anyone.
is very simple for me. trust me.
i simply dont understand what part they miss when they deliberatelly remove the copyright. nobody is forcing them to install my script.

What about the print artible page, do we have to leave that copyright there? I mean they are printing it and I see no need to have them print that...so does it still have to be include on the print article page?

TECK 10-05-2002 03:01 AM

GuruXL, do you see a copyright on vBulletin's printthread.php? check it and let me know please.
honestly talking between me and you as a friend, does it bother you that much a little text listed there?

bouncer18 10-05-2002 04:36 AM

hehehe this is almost sad...

people want want want and cant even give back a little.. HELL GUYS, 50% of people never read your webpage footer more then once so get over it...

i swear, if people make it so i cant download Teck's hacks i am gonna be pissed. Dont reuin it for others...

If ya wanna be a 'pirate' go buy a boat and an eye patch...

TECK 10-05-2002 05:18 AM

i just looked at leechesss's page:
Page generated in 0.18 seconds (55.81% PHP - 44.19% MySQL) with 12 queries.

good job on the settings. :)

Smoothie 10-05-2002 06:41 AM

Well, out of my 8 styles, have 3 done so far. Just thought I would post a link for you to have a look at;
http://www.macfora.com/index1.php

Not finished yet, but the basics are done. Thanks Teck!

LeeCHeSSS 10-05-2002 07:18 AM

Quote:

Originally posted by GuruXL


What about the print artible page, do we have to leave that copyright there? I mean they are printing it and I see no need to have them print that...so does it still have to be include on the print article page?

My personal opinion on this: I think the copyright text in its current form (both vbHome's and vBulletin's) looks out of place on a print article page.
HOWEVER, since TECK and Jelsoft want it there, it will remain there. Period.
Besides that, I don't give a rat's ass simply because I very much doubt people would ever print out or mail any of my news.

LeeCHeSSS 10-05-2002 07:19 AM

Quote:

Originally posted by TECK
i just looked at leechesss's page:
Page generated in 0.18 seconds (55.81% PHP - 44.19% MySQL) with 12 queries.

good job on the settings. :)

I myself still get 14 queries on my page. I take it you weren't logged in?

(Gonna check your upgrade file now)

Smoothie 10-05-2002 10:42 AM

I'm getting a parse error when trying to add a new thread after adding this code to newthread.php.

FIND:
PHP Code:

$postid=$DB_site->insert_id(); 

BELOW, ADD:
PHP Code:

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

Parse error: parse error in /home/virtual/site2/fst/var/www/html/forums/newthread.php on line 295

Followed instructions, added, and re-added code, same error.

Smoothie 10-05-2002 10:58 AM

A problem......... the latest forum discussions show private forums. I'm logged out, viewing vbHome, and under Latest forum Discussions, there is a link to one of the private forums.

TECK 10-05-2002 12:21 PM

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 10-05-2002 12:26 PM

Quote:

Originally posted by LeeCHeSSS
I myself still get 14 queries on my page. I take it you weren't logged in?

(Gonna check your upgrade file now)

yep, i'm looking at it as a guest. there are less queries performed when you are logged out.

GuruXL 10-05-2002 12:33 PM

Quote:

Originally posted by TECK
GuruXL, do you see a copyright on vBulletin's printthread.php? check it and let me know please.
honestly talking between me and you as a friend, does it bother you that much a little text listed there?

Well No, i guess not...thanks for the great hack...


However, I am still having a problem with the latest news being displayed...in my new forum...it shows 0 new threads but, i know there are threads in there...and the text doesn't show up on my homepage...

I will try a fresh re-install and see what heppens

TECK 10-05-2002 12:35 PM

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

TECK 10-05-2002 12:38 PM

guruXL, the article text will show only if you post in your news forum a new thread, after you installed vbHL.

GuruXL 10-05-2002 12:41 PM

i did post after I installed it

hankster 10-05-2002 12:52 PM

I have a question and a suggestion.

Does the installion change or add to any of the core db structure? I want to test vbHome lite but don't want to change any of the core db structure in case I don't want to use it.

I would like to have a way to only display the latest threads from certain forums. My site cover a number of different topics and I'd like to make a "home page" using vbHome for each of these areas. Since it now takes the latest discussions from all areas of vB it means that there could be off-topic discussion showing up.

pitt2424 10-05-2002 01:03 PM

<a href="http://www.massmonsterz.com" target="_blank">www.massmonsterz.com</a> not up on the web yet

TECK 10-05-2002 01:12 PM

i'm writing an article indexer right now, for all of you who dont have displayed the article text properly, in older news (or if you uninstalled > installed the script).

hankster, give me a few, as soon as i'm done with the script i will explain everything.
same thing for you, pitt2424. thank you for your patience.

pitt2424 10-05-2002 01:32 PM

no problem tech. is it hard to install and configure? im new to vbulletin and am hoping it's somthing i'll be able to do.

TECK 10-05-2002 01:35 PM

no, it's extremly easy. you only add 3 lines of code in your vBulletin files.

pitt2424 10-05-2002 01:38 PM

is this what i would use to create a main page like this site has where i can put announcements as that sort of thing? i read through your post and it looked like it had a lot of nice features i cant wait to play with it

TECK 10-05-2002 02:32 PM

Quote:

Originally posted by hankster
I have a question and a suggestion.

Does the installion change or add to any of the core db structure? I want to test vbHome lite but don't want to change any of the core db structure in case I don't want to use it.

I would like to have a way to only display the latest threads from certain forums. My site cover a number of different topics and I'd like to make a "home page" using vbHome for each of these areas. Since it now takes the latest discussions from all areas of vB it means that there could be off-topic discussion showing up.

yes. it adds a new field to store the articleid data only. so your database will not be doubled because you store twice the post contents. this field is removed if you uninstall the script.

Phaeton 10-05-2002 02:34 PM

teck, i have a quick suggestion....

i know your code is copyright but i looked at it and it looks like it will be easy to create as a module for phpnuke! so that instead of the article system in nuke you can use the posts from vbulletin, just one step closer to integration, what do you think?

TECK 10-05-2002 02:36 PM

i hate phpnuke. it loads zillions of queries.
if you use my vbHL script, you must leave the copyright bottom text intact. :)

JBMoney 10-05-2002 02:52 PM

How do you enable image and attachment display on the home page or for that matter, in the news forum itself? They don't show in either.

JBMoney 10-05-2002 02:59 PM

Images won't show in the news forum either?

TECK 10-05-2002 03:00 PM

huh? you mean they not displayed? set properly your options.

JBMoney 10-05-2002 03:06 PM

Options are set. Attachments and images show in every forum but that one.

For attachments: They are there, in the database, because when you edit you get the option to remove or change the attachment. The display is blank though.

For images: It just shows the link to the image.

Same result for the forum display and the vbHome page.

JBMoney 10-05-2002 03:08 PM

The setting was wrong for images.

The only problem I'm having is the attachments.

TECK 10-05-2002 03:17 PM

vbHL have it's own settings, it doesnt interfer with vBulletin ones.. so if attachments dont show is because your settings. double check them.. you missed something in forum perms.

JBMoney 10-05-2002 03:21 PM

Ok, but all the forum perms are set up exactly as the other forums, particularly for administrator. There is nothing in vbulletin preventing the display of attachments. I will keep looking though.

TECK 10-05-2002 03:26 PM

ok, i added a new script to the package: Article Indexer, located in /admin folder.
this script will update your old articles not showing up anymore, if you performed an uninstall-install.
that will make quite a few people happy, i know... :)

ALSO, a minor change in newthread.php to work better with some sql servers. read carefully the change there, you can barelly see it.

MAKE SURE you clean your browser cache before you re-download the .zip package.
follow these steps:
Tools > Internet Options > Delete Files... > Delete all offline content > Ok

now, i will take care of the long list of passwords i have to pm then i will answer to other questions here... :)

JBMoney 10-05-2002 03:32 PM

Just fyi - I don't think it just affects 'uninstall-install' only. I did a new install and the old stuff won't show up either. Thanks.

TECK 10-05-2002 03:34 PM

what do you mean? please explain properly, not using expressions like "the old stuff". where? how? the forum? the article?
and my script works properly. it's installed by several people and they never had a single problem.


All times are GMT. The time now is 04:39 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.03524 seconds
  • Memory Usage 1,827KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (6)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