PDA

View Full Version : vbHome (lite) - your vBulletin(powered) main homepage


Pages : 1 2 3 [4] 5 6 7 8 9 10 11 12 13 14 15

bouncer18
10-02-2002, 07:02 AM
Originally posted by TECK
bouncer, you have the wrong version or printarticle.php, clean your temp files and redownload the package again :)

leechlesss, from now on i will also release upgrades, with the way i wrote the code now.. :)
so you run the upgrade and you are done.. very fast...

and my reply was.. i thought i had the right one

bah cleaning, and redling JUST for you :)
hehe

TECK
10-02-2002, 07:04 AM
is good to use the right file. i noticed that because i have a different type of perms set for it.. since is a news file, it should be viewed even by quests.

bouncer18
10-02-2002, 07:14 AM
its guest viewable..

they just cant see much more then whats on the main page without registering.

TECK
10-02-2002, 07:15 AM
click on the printarticle to see. as a guest.

bouncer18
10-02-2002, 07:20 AM
mmm i see what your saying.....

will fix

TECK
10-02-2002, 07:22 AM
np.. but you did uploaded the printarticle file that says at the top the vbhome version? right under require global?

bouncer18
10-02-2002, 07:23 AM
yes i did

going to redownload it and upload it again to make sure its the right one right now

TECK
10-02-2002, 07:24 AM
if it says inside the file v3.2, at the top... you are ok :)

bouncer18
10-02-2002, 07:26 AM
closed all browsers
opened it back up
deleted zip
cleared temp
redownloaded

printarticle does same thing as it did before...

andyea, says 3.2 up top

bouncer18
10-02-2002, 07:27 AM
no worries, if they wanna print it, they can register... :)

TECK
10-02-2002, 07:28 AM
lol ok.

bouncer18
10-02-2002, 07:30 AM
i think its time for bed.

Teck, thanks again for your help.

Cant wait for the next version.

TECK
10-02-2002, 07:30 AM
take care, nite.

Goldknight
10-02-2002, 07:43 AM
I d like to have a password to access the .zip

I PM you my new site url.. thanks

LeeCHeSSS
10-02-2002, 10:56 AM
Installed it. Works without problems (but I need to re-edit the templates to get my old layout back).

Once I have done that, I'll have to figure out how to:
- get $thread[time] and $thread[date] to contain the time/date of the LAST post of the thread, instead of the first.
- have the poll look for polls in 1 specific forum made by ANY user. (I'm just used to the vbPortal style of doing polls I reckon)

I would appreciate any help with those 2 things, since I'm not MySQL guru myself :(

nokia8860
10-02-2002, 05:44 PM
TECK, Bouncer,

WOW so much has happened! I redownloaded the file and BANG I get polls!!!!

The Piper
10-02-2002, 06:43 PM
Ok, my users love the new site but they all (including myself) miss the "Search for new posts since last visit" that was present in the vBulletin index, the Welcome Panel and vbIndex as well. Can anyone help me implement this, please?

Thanks!

Goldknight
10-02-2002, 06:49 PM
Originally posted by The Piper
Ok, my users love the new site but they all (including myself) miss the "Search for new posts since last visit" that was present in the vBulletin index, the Welcome Panel and vbIndex as well. Can anyone help me implement this, please?

Thanks!
It would be very nice to have that kind of feature. Hopefully that Nakkid will add this :)

nokia8860
10-02-2002, 07:07 PM
silly question here:

I can change the look of the polls that have been voted on in the

home_pollresults template

But where is the template that changes the look for when you have not voted on the question.

LeeCHeSSS
10-02-2002, 07:12 PM
Originally posted by The Piper
Ok, my users love the new site but they all (including myself) miss the "Search for new posts since last visit" that was present in the vBulletin index, the Welcome Panel and vbIndex as well. Can anyone help me implement this, please?

Thanks! That's quite easy:

Add the following anywhere where you want the "Search for new posts since last visit" link: <a href="$bburl/search.php?s=&action=getnew">Search for new posts since last visit</a>

LeeCHeSSS
10-02-2002, 07:14 PM
Originally posted by nokia8860
silly question here:

I can change the look of the polls that have been voted on in the

home_pollresults template

But where is the template that changes the look for when you have not voted on the question. In the following 3 templates: home_polloption, home_polloptions, home_polloption_multiple

nokia8860
10-02-2002, 07:19 PM
LeeCHeSSS:

YOU DA MAN! (or woman depending on gender :) )

The Piper
10-02-2002, 07:36 PM
I agree with nokia8860. Thanks A LOT, LeeCHeSSS, I had goten SEVERAL PM's from my users requesting that.... I really appreciate your help on this.

TECK
10-02-2002, 07:37 PM
Originally posted by LeeCHeSSS
Installed it. Works without problems (but I need to re-edit the templates to get my old layout back).

Once I have done that, I'll have to figure out how to:
- get $thread[time] and $thread[date] to contain the time/date of the LAST post of the thread, instead of the first.
- have the poll look for polls in 1 specific forum made by ANY user. (I'm just used to the vbPortal style of doing polls I reckon)

I would appreciate any help with those 2 things, since I'm not MySQL guru myself :( i have to make you happy right? :)
first you need to change also the poster... i think since you want to show the last post time, right?
anyway, do this... in vbHL index.php find:
$thread[time] = vbdate($timeformat, $thread[dateline]);
$thread[date] = vbdate($dateformat, $thread[dateline]);
replace it with:
$thread[time] = vbdate($timeformat, $thread[lastpost]);
$thread[date] = vbdate($dateformat, $thread[lastpost]);
then, in your home_threadbits template, change:
<a href="$bburl/member.php?s=$session[sessionhash]&action=getinfo&userid=$thread[postuserid]">$thread[postusername]</a>
to:
<a href="$bburl/member.php?s=$session[sessionhash]&action=getinfo&find=lastposter&forumid=$thread[forumid]">$thread[lastposter]</a>

LeeCHeSSS
10-02-2002, 07:50 PM
Originally posted by nokia8860
LeeCHeSSS:

YOU DA MAN! (or woman depending on gender :) ) That'd be MAN! :)

Anyway, thanks TECK! It seems I was pretty darn close to figuring it out myself, but this saved me some headaches ;)

TECK
10-02-2002, 08:44 PM
kingsfan, is not related to actual code but to templates, you probably changed there something. check your html code.

TECK
10-02-2002, 08:44 PM
i think i will release tomorrow (or day after) vbHome (lite) 3.3.
it will add the iconews, pictogram icons like phpnuke, associated with every article.
that will be done without increasing the number of queries, ofcourse.
also, it will have an upgrade.01.php file so you dont have uninstall everything. :)

cya all for now... back to coding.

obiwan8472
10-02-2002, 08:52 PM
Hi. Quick little thing.
Just installed it onto a test bit on my server and it all works. However it does not read whats in the Header of the members template.
(I have a banner as my logo which is in the header of the style)
So I get a blank bit at the top with just the forum logo.

For example
portal page
http://www.scifichat.net/test/index.php

forum
http://www.scifichat.net/vbforums/

The purple banner at the top of the screen.
any idfeas?

TECK
10-02-2002, 08:54 PM
is normal, you didnt follow all the steps in the readme file.
if you do follow them ALL, it will work.

Grendel602
10-02-2002, 09:35 PM
I tryed to dl vblight but the resulting zip is password protected when I use rar.

WTF?

TECK
10-02-2002, 09:36 PM
obiwan8472, please change back to visible the copyright on your Print Article page. you are infringing the Jelsoft regulations by not displaying the "Powered by" note at the bottom.
thank you.

nokia8860
10-02-2002, 09:39 PM
Originally posted by TECK
i think i will release tomorrow (or day after) vbHome (lite) 3.3.
it will add the iconews, pictogram icons like phpnuke, associated with every article.
that will be done without increasing the number of queries, ofcourse.
also, it will have an upgrade.01.php file so you dont have uninstall everything. :)

cya all for now... back to coding.


YES!!!!!

Grendel602
10-02-2002, 09:47 PM
www.grendelslair.com/forums

The "WTF" wasn't aimed at anyone. And for your information I usually just dl the hack and figure the rest out myself so excuse me if I wasn't expecting a passworded zip.

You could have just said read the first page and that woudl have been that.

:pirate:

leedzinh
10-02-2002, 09:52 PM
thanks

TECK
10-02-2002, 09:58 PM
Originally posted by Grendel602
www.grendelslair.com/forums

The "WTF" wasn't aimed at anyone. And for your information I usually just dl the hack and figure the rest out myself so excuse me if I wasn't expecting a passworded zip.

You could have just said read the first page and that woudl have been that.

:pirate: i apologise. i didnt get the exact sense. i thought it was directed to me. i will pm you the password rightaway.

obiwan8472
10-02-2002, 10:21 PM
Hi again.
I have redone the hack following every step clearly. but still no header.

http://www.scifichat.net/test/index.php

Any ideas?
Sorry for being a pain.

TECK
10-02-2002, 10:23 PM
the image url to that picture points to:
http://www.scifichat.net/test/images/blank.gif
so that's why you get an error. :)

Ghostsuit
10-02-2002, 10:25 PM
URL for Password

http://www.alternativenation.net/forums/

TECK
10-02-2002, 10:27 PM
i need the location where you intend to use vbHome (lite). thank you.

i presume is the home url?

Ghostsuit
10-02-2002, 10:30 PM
Ahh I'm thinking of using it at http://www.alternativenation.net/index.php

KingsFan
10-02-2002, 10:37 PM
The home page uses a lot of it's own templates. If you want it to look exactly like your forums header you need to modify the header templates with the "home_" in front of them. Hope this helps...
Originally posted by obiwan8472
Hi again.
I have redone the hack following every step clearly. but still no header.

http://www.scifichat.net/test/index.php

Any ideas?
Sorry for being a pain.

TECK
10-02-2002, 11:16 PM
Ghostsuit, i pm you the password. thanks for installing my script.

TECK
10-02-2002, 11:59 PM
for the iconews, i'm going to need one or two beta testers before i release it. please post here in the thread if you are interested.

supreemball
10-03-2002, 12:17 AM
one question.. in 3.2, should i be seeing the news poster's avatars? if so, what's the code for showing the poster's avatar? i tried $article[avatar] but no workie. thanks.

TECK
10-03-2002, 12:23 AM
no. it will not. if you wait another day, you will get the iconews. for each article you will have an icon associated, the same like phpnuke.

is alot better then the avatars... i think. :)

Grendel602
10-03-2002, 12:24 AM
I keep getting the following error and don't understand based on the instructions how to fix it:

Warning: ChDir: No such file or directory (errno 2) in /home/robbyh/public_html/vb/index.php on line 10



My boad:

http://www.grendelslair.com/vb/

TECK
10-03-2002, 12:26 AM
Grendel602, the path is not set correctly.
read more here how to get it right:
https://vborg.vbsupport.ru/showthread.php?postid=302329#post302329

nokia8860
10-03-2002, 12:41 AM
Originally posted by TECK
no. it will not. if you wait another day, you will get the iconews. for each article you will have an icon associated, the same like phpnuke.

is alot better then the avatars... i think. :)

youre making me drool here!!!!

GuruXL
10-03-2002, 12:49 AM
From now on, the .zip file is password protected. You will have to post here and request a password. When you request a password, you need to include your site URL (where vbHome (lite) will be located).
Once I read your request in the thread, I will Pm you the password.
In this way I can check if you removed the copyright and report you to Jelsoft for illegal activity.
Remember, I'm the author of the code, so the copyright belongs to me and Jelsoft.

Ian Gordon |DOT| COM
http://www.ian-gordon.com

TECK
10-03-2002, 01:21 AM
guruxl, i pm you the password. thanks for installing my hack.

Phaeton
10-03-2002, 01:21 AM
was wonderin if i could get a password, just won a copy of vbb courtesy vbt and am deciding whether to build my site on phpnuke6 + vbb or some type of vb portal.... http://clan.revcenter.com http://clan.revcenter.com/forums

those are the addys...

TECK
10-03-2002, 01:26 AM
Phaeton, i pm you the password. thanks for installing my hack.

LeeCHeSSS
10-03-2002, 03:38 AM
TECK, I'll help you beta test with the icons...

TECK
10-03-2002, 03:42 AM
np leechesss. the upgrader is done, i'm double checking some steps... it should be ready in about 2 hours.

LeeCHeSSS
10-03-2002, 03:45 AM
I'll be at work in about 1.5 hours :)

TECK
10-03-2002, 03:49 AM
aha... then you will probably install it when you come from work.
any other vbHomer who want to test it?

let me know, post in the thread...

nokia8860
10-03-2002, 04:08 AM
Teck,

Of course I'll test!

TECK
10-03-2002, 04:13 AM
ok nokia... do you have msn messenger?

add my handle:
nakkid@msnDOTcom

The Piper
10-03-2002, 04:29 AM
Is there any way to integrate this with the Welcome Panel? I wanted to put it just before the articles, in the main part of the screen. I've been messing around with codes and templates for several hours now with no success. Please let me know if any of you guys have any clue on what to do.

Thanks!
Paulo

TECK
10-03-2002, 04:38 AM
installing welcome panel onto your vbHL is the same like you do it in your forums.
i'm busy now to finish v3.3, i will help you after...

The Piper
10-03-2002, 04:55 AM
Thanks, TECK, as I've said I've been trying to do that for quite some time now with no success. It seems it requires quite a bit of changes to be made, from my experience. Of course I may be wrong (and I hope I am). :)

TECK
10-03-2002, 05:01 AM
actually no. is very easy to implement. i will help you as soon as i'm free. post an url to the actuall hack so i can tell you exacly what to do later on...

The Piper
10-03-2002, 05:32 AM
The hack is located right here (https://vborg.vbsupport.ru/showthread.php?s=&threadid=33477). Thanks again! :)

Smoothie
10-03-2002, 06:04 AM
Teck-

I'd like to test your vbHome script.
URL of install is; http://macfora.com

Thanks!

LeeCHeSSS
10-03-2002, 06:18 AM
I spoke with TECK on MSN (only briefly) and he said I should post how to place a search box on your vbHome page. So here goes:

Open vbHome's index.php and search for:$templatesused.= 'home_userloggedin,home_userloggedout,home_adverti sementbit,';replace that with:$templatesused.= 'home_userloggedin,home_userloggedout,home_adverti sementbit,home_search';

Next, search for (still in index.php):eval("\$homefooter .= \"".gettemplate('home_footer')."\";");and immediatly after it add:// custom templates
eval("\$home_search .= \"".gettemplate('home_search')."\";");Save and reupload index.php (as always, be sure you have a backup of the original).

Now goto your admin cp and create a new template called "home_search" and paste the following code into it:<table border="0" cellspacing="0" cellpadding="0" width="150">
<tr>
<td bgcolor="{tablebordercolor}" >
<table width="150" border="0" cellspacing="1" cellpadding="3">
<tr>
<td valign="top" bgcolor="{categorybackcolor}">&nbsp;<font color="{categoryfontcolor}"><normalfont><b>Search
</b></normalfont></font>
</td>
</tr>
<tr>
<td bgcolor="{firstaltcolor}"><smallfont>
<!-- Begin -->
<table align="center" border="0"><tr align="center"><td><smallfont>
<form style="margin-bottom:-2;" action="$bburl/search.php" method="post">
<input type="hidden" name="s" value="$session[sessionhash]">
<input type="hidden" name="forumchoice" value="- 1">
<input type="hidden" name="searchin" value="subject">
<input type="hidden" name="searchdate" value="-1">
<input type="hidden" name="action" value="simplesearch">
<input type="hidden" name="booleanand" value="yes">
<input class="search" onFocus="this.value='';" type="text" name="query" value="For..." size="10" maxlength="150" >
<input type="hidden" name="action" value="simplesearch">
<input type="image" src="{imagesfolder}/go.gif" name="Submit" border="0" align="absbottom">
</form><b><a href="$bburl/search.php?s=$session[sessionhash]">Advanced Search</a></b>
</smallfont></td></tr></table>
<!-- End -->
</smallfont>
</td>
</tr>
</table>
</td>
</tr>
</table>
<smallfont><br></smallfont>And finally, insert "$home_search" anywhere in the template "home" where you would like to have the search box show up.

Note that the box likely needs to be resized to fit your layout (this is the one i use for MY vbHome; which doesn't use the default layout).

TECK
10-03-2002, 06:31 AM
Originally posted by Smoothie
Teck-

I'd like to test your vbHome script.
URL of install is; http://macfora.com

Thanks! smoothie, give me an hour or 2. i'm almost done with v3.3
it adds the iconews, images on the side, like postnuke and a search box.

as soon as i upload the script i will pm you the password.
cheers.

Smoothie
10-03-2002, 06:35 AM
Teck-

Thanks! No rush, whenever you have time.

terry123
10-03-2002, 08:14 AM
can i have password plz

TECK
10-03-2002, 08:20 AM
yes, terry123. first submit here the URL where you plan to install vbHome (lite). thank you.
you should wait an hour also. i'm releasing v3.3 in a bit.

still having problems with a cool dropdown i made, to see the article icon (while selecting it), when you submit your article...

LeeCHeSSS
10-03-2002, 08:39 AM
Hmm, you using javascript for that?

Anyway, are you making the icons optional? Because my site doesn't deal in the default phpnuke topics. And I haven't got any cool icons to use for topics that would fit on MY site.

TECK
10-03-2002, 08:46 AM
no i dont use java... :)
and yes they are optional.

what type of icons you need? there are several sites out there where you can download sets... i dont know any, since i make my own... but you know what i mean... :)

also, check your page when you are logged out, the login box is to wide.

LeeCHeSSS
10-03-2002, 08:51 AM
I know it is too wide. Haven't finished the layout completely (bit lazy today)

My site is about playing RPG's online, so anything that goes with that :)

Could ask my resident artist to create icons though...

TECK
10-03-2002, 08:55 AM
well... i have no idea what is RPG... :cry:
willing to explain it to me? thanks.

Smoothie
10-03-2002, 09:18 AM
RPG= Roll playing games.

terry123
10-03-2002, 09:19 AM
yeah can i use it at http://www.hackerdome.net/board

cheers

terry123

LeeCHeSSS
10-03-2002, 09:39 AM
Originally posted by Smoothie
RPG= Roll playing games. Well, there's your explanation :)

The most wellknown RPG is Dungeons&Dragons made by Wizards of the Coast. Check www.wizards.com/dnd for information

D&D is fantasy themed, but there are also RPG's set in the future, or even in the past (Call of Cthulhu - a favourite of mine).

LeeCHeSSS
10-03-2002, 10:01 AM
Got a request for you TECK,

If a user does NOT have permissions to edit the poll, the link doesn't show up right. That's cool.
But if a user ALSO doesn't have permissions to post messages in the poll thread, the "Discuss this poll" also doesn't show up. That's cool as well, EXCEPT for the fact that there's still an empty <td></td> cell at the bottom of the Poll block.

Think you can tweak this out? If you don't understand, look at the bottom of the poll block on my site. You'll see a really small empty cell.

Smoothie
10-03-2002, 10:06 AM
Yes, my son is big into the RPG scene. :)

LeeCHeSSS
10-03-2002, 10:20 AM
I just discovered that using vbHome requires 2 additional template changes:
In "head_newpm" find private.php?s=$session[sessionhash] and replace it with $bburl/private.php?s=$session[sessionhash]There are two instances which BOTH need to be changed.

If you do not perform these 2 template changes, you will be redirected to a 404 page whenever you have an unread PM and click OK on the "You have a new private message. Click OK to view it, or cancel to hide this prompt." dialogbox that pops up.

TECK, I suggest you add this in the readmefirst.txt in the zip.

TECK
10-03-2002, 11:40 AM
Originally posted by LeeCHeSSS
Got a request for you TECK,

If a user does NOT have permissions to edit the poll, the link doesn't show up right. That's cool.
But if a user ALSO doesn't have permissions to post messages in the poll thread, the "Discuss this poll" also doesn't show up. That's cool as well, EXCEPT for the fact that there's still an empty <td></td> cell at the bottom of the Poll block.

Think you can tweak this out? If you don't understand, look at the bottom of the poll block on my site. You'll see a really small empty cell. aha.. well i will fix that.. ty for letting me know.

the $bburl pm's were fixed a while ago. always deleted your temporary internet files before you download a file with the same name... at vb.org.

i finally finished the v3.3. working on the install instructions, making a really nice and clean readmefirst.htm file... :)

LeeCHeSSS
10-03-2002, 11:46 AM
Odd, cos I downloaded the latest download on a computer that had never been on vb.org before :)

Oh well, it's fixed now, so we're all happy.

Only got 1 more thing to do (add a couple of useful/navigational links in the $home_welcomeuser template) for my vbHome layout, then it's finished :)

TECK
10-03-2002, 12:09 PM
hehe... you think is finished??? :)
nope. the new version fixes another poll bug that it was occuring sometimes... also there are few other minor bugs fixed...

after all i dont think i will make an upgrade file, is to much hassle and the new options will not be in order, the way they suppose to... so back to the same story, uninstall > install.

i hope you guys are not gonna make the same mistake like the last time.. uninstall using the new installer script.
MAKE sure you uninstall with the OLD script, then install a fresh v3.3 copy onto your server.

LeeCHeSSS
10-03-2002, 12:23 PM
I meant: My layout will be finished.

vbHome has too much room for more features to ever call it "finished" :)

And if we're going along the uninstall/install route, could you be so kind to somehow indicate what exactly has changed between versions code-wise? (since I don't feel like having to redo the templates all the time)

pseudocode
10-03-2002, 12:52 PM
Hi,

I'd like a password for vBulletin Home Lite. My forums are at http://64.224.111.214/forums. Thanks!

TECK
10-03-2002, 12:53 PM
i fixed the empty <td> row you told me about it. :)
moving on with the instructions.. you will love how clean and easy is now to read and follow the readmefirst install instructions...

TECK
10-03-2002, 12:55 PM
pseudocode, i'm just about to release v.3.3
working on the instructions. as soon as i release it you will have the password as well as 2 other members who request it...

LeeCHeSSS
10-03-2002, 01:03 PM
TECK, if you ever need help with writing the English instructions, don't hesitate to ask me. Even though it's not my native language (I'm Dutch), my grasp of the language is at a level where I often correct native english speakers in their flaws.

TECK
10-03-2002, 01:08 PM
thank you!
as you noticed, i make grammar mistakes.... i'm romanian, is normal... ;)
however i use a spellchecker for that, just to make sure...

pseudocode
10-03-2002, 01:10 PM
Originally posted by TECK
pseudocode, i'm just about to release v.3.3
working on the instructions. as soon as i release it you will have the password as well as 2 other members who request it...

Cool!! I'm lokking forward to it. Thanks!

terry123
10-03-2002, 01:21 PM
yeah my url is http://www.hackerdome.net/board cheers

TECK
10-03-2002, 01:26 PM
terry, i didnt forget. i wrote down all url's other members posted here just to make sure i will not forget to send them the password. :)

brb, is time for me to make a set of 14 iconews... so i save you some time to all of you...

terry123
10-03-2002, 01:50 PM
thanks... :-)

KingsFan
10-03-2002, 05:51 PM
I don't mind doing the uninstall then reinstall thing except for one thing. Everytime I do this the "old" news doesn't show correctly. Anything that was already in the News forum only shows the title and not any text. If I add any new threads to the News forum they work fine. I have read several others have had the same problem. Has anyone figured out a solution to this yet?

nokia8860
10-03-2002, 06:14 PM
Originally posted by TECK
vbHL 3.3 screenshot 8


WOAH!!! :bunny:

TECK
10-03-2002, 06:23 PM
vbHome 3.3 released guys. :) enjoy.

TECK
10-03-2002, 07:08 PM
hmm guys hold your horses.. i forgot to edit the postings.php file.. go ahead and download the file, install it. then i will post here the mods they need to be done in postings.php

JBMoney
10-03-2002, 08:17 PM
I'd like to request the password. Not positive I'll use it, but I used an older version for a while, and I'd like to give the new one 'a whirl'.

http://bushwhacked.net

KingsFan
10-03-2002, 08:26 PM
Teck,
Will it work as-is or do we need to wait for the changes to postings.php?

TECK
10-03-2002, 08:33 PM
we need to wait. unfortunatelly.
postings need to be updated... i'm working on it as we speak...

TECK
10-03-2002, 08:35 PM
ok, i removed temporarly the file. working on it asap..

TECK
10-03-2002, 08:36 PM
Originally posted by JBMoney
I'd like to request the password. Not positive I'll use it, but I used an older version for a while, and I'd like to give the new one 'a whirl'.

http://bushwhacked.net bear with me.. i'm working on a bug...as soon as it's fixed, i will send you the password...

LeeCHeSSS
10-03-2002, 08:40 PM
TECK, good job on the readmefirst.htm

I agree with Kingsfan though, the fact that after every uninstall/reinstall we lose the articles' text is irritating. I'm going to look into this and see if I can find a solution.

TECK
10-03-2002, 08:48 PM
np, leechesss but the important thing is postings.php on my to do list.
without it i cannot rerelease the script...
when i fix the postings i will work rightaway on the issue mentioned above.

now it's time for me to get some sleep.. cya all... tomorrow morning i will start working rightaway on it.

Smoothie
10-03-2002, 09:06 PM
Can I download vbHome 3.3 now, or should I wait?

Nitro-X
10-04-2002, 12:08 AM
hey,

How do i get a password?

my email is matt@flawedlogic.org

ontherun
10-04-2002, 12:08 AM
I Have D/L'ed the archived file and tried to open it and it ask for a password?

So do I have the wrong copy of vbHome (lite) or are you posting the password ?

KingsFan
10-04-2002, 12:14 AM
Nitro-X and ontherun,
If you agree to the copyright terms in the first post of this thread then you need to post here (or PM TECK) the URL where you plan to install vbHome (lite). Then he will PM you the password.

Goldknight
10-04-2002, 01:12 AM
Nitro-X and ontherun, read Teck's first post, he explain that his zip is protected by password due to disrespect his works. Pls read the first post, he explain everything

bouncer18
10-04-2002, 01:53 AM
if ya need help Teck i am here.

Lemme know when to download it

Smoothie
10-04-2002, 02:32 AM
Does anyone know if the installer will add the home templates to all of the boards style sets?

bouncer18
10-04-2002, 03:45 AM
hey teck,..

you taking suggestions for new features in future updates?

weilz
10-04-2002, 04:25 AM
Got the zip ... need the password ... nuff said :)

I'm looking forward to having it installed here:

www.thefams.net

LeeCHeSSS
10-04-2002, 06:12 AM
what did you have in mind, bouncer?

TECK
10-04-2002, 06:46 AM
hi again... :)
the 3.3 code needs to be revised, since certain admin functions dont work properly with the mix between vBulletin and vbHome (lite).

the current version for download is v3.2. i would say in another day, max two, i will rerelease v3.3. if you want to use v3.2 is available for download now on the first post.

weilz, i will pm you the password now. thanks for installing my hack.

bouncer, ofcourse i'm open to suggestions. :)

Mone'
10-04-2002, 06:50 AM
Teck can you do some hacks/addon for virtuanews to :)
We need more of your hack for the full version

Thank you

Mone'

intinig
10-04-2002, 06:55 AM
I hope this is the right forum... I would like a password for vbhome light, my url is www.key4web.net/forum.

TECK
10-04-2002, 07:07 AM
Originally posted by Mone'
Teck can you do some hacks/addon for virtuanews to :)
We need more of your hack for the full version

Thank you

Mone' np, please post there in the forums.

TECK
10-04-2002, 07:39 AM
Originally posted by intinig
I hope this is the right forum... I would like a password for vbhome light, my url is www.key4web.net/forum. enable your pm's and i will send it to you.

nokia8860
10-04-2002, 08:04 AM
threepointthree. threepointthree

:bunny:

GuruXL
10-04-2002, 09:10 AM
TECK thanks for all the wonderful help, I await the rerelease of vBH 3.3 because, I don't wanna have to reinstall it...i need that no text bug fixed too, but thanks again for the great support :D

TECK
10-04-2002, 09:23 AM
i re-released 3.3, however the iconews will be backed to 3.4, if they will be on it.
i realised that it will take alot of hacking to get it working, and my goal is to keep things as simple as possible while installing vbHome (lite).

go ahead and download the new file to see how fast it runs everything now. :)

LeeCHeSSS
10-04-2002, 09:42 AM
Nice :)

TECK
10-04-2002, 09:46 AM
leechesss, did you see the things i fixed on it? :)
ahh, i forgot, your empty <td> row is fixed now.

TECK
10-04-2002, 09:51 AM
i honestly think is not worth to set the iconews. it will take alot of hacking onto vBulletin files.. and a newbie or medium hacker will get lost on it.

bouncer, you ask me if, i'm open for suggestions, ofcourse i am :)
go ahead guys and suggest whatever you think it will make cooler vbHome (lite).

also the plus is this: from now one there will be upgrade files. :)
no more uninstall-install. the new 3.3 allow me to do this, the way is build the code.

LeeCHeSSS
10-04-2002, 09:51 AM
Haven't installed it yet, so no :)

Btw, my vbHome queries have always been 2 lower than the amount you advertise with. Any idea how that's happening?

I agree on the icons not really being needed. And it's pretty easy to achieve the same with attachments or [img]'s tags. So I'm actually happy that you decided to drop/delay them :)

TECK
10-04-2002, 09:53 AM
how do you see your queries? with explain=1?

LeeCHeSSS
10-04-2002, 09:54 AM
No, with vbMicrostats.

explain=1 adds 1 query when you use debug mode

TECK
10-04-2002, 09:58 AM
that's wierd... me i have 18queries on debug mode, i know about the extra query... do a debug mode and list here all your queries that are done on vbHome (lite), only the names... i will tell you the ones i have extra.
EXAMPLE
Query: ... FROM template

do not list the full query. thanks.

TECK
10-04-2002, 10:07 AM
The following queries are used on vbHome (lite) with all options enabled:
FROM template (vB global)
FROM session (vB global)
FROM user (vB global)
FROM style (vB global)
FROM template (vB global)
FROM usergroup (vB global)
FROM thread (last visit counts)
FROM privatemessage (PM's)
FROM forumpermission (forum permissions)
FROM forum (forum permissions)
FROM thread (poll)
FROM pollvote (poll)
FROM smilie (smilies)
FROM thread (latest threads)
FROM thread (articles)
FROM forum (debug mode)

17 total, minus the debug mode query, that's 16. :)

LeeCHeSSS
10-04-2002, 10:26 AM
Oh, give me a few minutes.

TECK
10-04-2002, 10:49 AM
you have one query less because nobody voted on your poll, or you didnt. but you are correct, there are 16 queries.
you are missing the pollvoted one.

LeeCHeSSS
10-04-2002, 10:56 AM
Ahhh, so that's the solution of the puzzle. Thanks for clearing that up.

Completely unrelated question: when is teckwizards.com due to go online? I wanna see how you hacked/optimized your board :)

TECK
10-04-2002, 10:58 AM
pretty soon. :)
that's the reason also i backed a little the iconews. i realised that i focus more on my hacks then on my site...

screenshot's are here:
https://vborg.vbsupport.ru/showthread.php?s=&threadid=43447

i have it on mines
iconews, but my board is completly changed..

LeeCHeSSS
10-04-2002, 11:07 AM
Yeah, saw those screenshots before. You really are good at this.

TECK
10-04-2002, 11:07 AM
:bored: :glasses: thank you!

about vbHL, what is good is it's simplicity. it runs really well, doesnt use alot of queries and it's really speedy.
same like it's big brother vBulletin.

i have an idea, i think i will add a switch for smilies also, to disable it if you preffer not to use it. it will save a query. what do you think?

TECK
10-04-2002, 11:41 AM
ok, is done, now there are only 12 queries performed. :)

KingsFan
10-04-2002, 12:20 PM
Teck,
Did you get a chance to look at the bug where the old News items do not display the text after a re-install? I guess it will be less of an issue if you're going to provide upgrade scripts from now on.

TECK
10-04-2002, 12:30 PM
this is not a bug. is normal. let me explain it to you.
all information for each article is stored in a special field that the installer creates.

when you uninstall, the installer delete that field from the database, so all information is lost.
when you install a new version, a new field is added, but empty with no data onto it.

that's why you dont see the old articles anymore. this problem is solved in vbHL 3.3. when i will release a new version, it will include also an upgrade file, so you will not lose anymore any data.

happy now? :)

KingsFan
10-04-2002, 12:35 PM
I've been happy ever since I found this hack!:) It's exactly what I was looking for. The upgrade scripts will make it much easier to keep up with all your great work. Thanks!

bouncer18
10-04-2002, 12:36 PM
awww

no icons till 3.4

Anyhoot, any plans to add the calender to the left side of VbHL Main Screen... i think all emphasis is placed on the right and the left is unbalanced

I would attempt to change it around myself but me -vs- tables aint a pretty site

Maybe put calander and who's online on the left or something

Teck.. site SS's look good. Way to go

TECK
10-04-2002, 12:36 PM
i'm glad you like it.. btw, in 3.3 there are 2 queries less performed, as default..
now there are 12 instead of 14... sounds good? :)

TECK
10-04-2002, 12:44 PM
bouncer the calendar can be done as an add-on.. just get wajones' hack for calendar (is here in full releases) and install it like you do it normally onto your vBulletin. then add the code in your template. is as simple as this. you can hack your vbHome the same way you do vBulletin.

i dont like to ripp other's work. is very easy to copy and paste and i will never do this to a colleague. grabbing a bunch of code hacks and put them toghether as being mines, is not me. that's why i displayed the addons made by others in the addons section. so people can install them.. is not hard.

i will add a link to the add-on section for calendar, is a good idea.

do you know why i have it split on a side only? because i hate portals, they look all the same. terrible.
vbHL is only one file. simple and efficient. no headaches. no space on the server and database. no problems.
also with vbHL, you can metamorphose your look the way you like it since it's built on templates completly up to to the smallest link...

Wolf42
10-04-2002, 01:21 PM
Hey TECK!

I'm running your vBhome(lite)_v20 and vbPortal V201. And my vbhome(lite) page has 50 queries and my page with vbPortal 86 ( :eek: ) queries. Maybe I can get some queries less it I uninstall vbPortal and only run vbhome(lite).

So please send me the Password for the ZIP-file. Thanks.

TECK
10-04-2002, 01:23 PM
wolf42, please read the copyright rules. if you agree, post your url here (or pm it) and i will pm you the password asap. thank you.

TECK
10-04-2002, 01:29 PM
heh, guys read what marchalus stated on his site:
Printable Version
Posted by: Marshalus - Yesterday at 09:02 AM

I plan on making printable versions of all of the online documents that are on the website.
Just a heads up.i quess vbHL comes in handy, right marchalus? :D
i must admit he did a great job in costumizing vbHL... congrats march!

ForYou
10-04-2002, 01:39 PM
Hello Sir ,,

Please send me password for your hack
vbHome (lite) 3.3 Released

Thanks
Regards

TECK
10-04-2002, 01:45 PM
Originally posted by ForYou
Hello Sir ,,

Please send me password for your hack
vbHome (lite) 3.3 Released

Thanks
Regards ForYou, please read the copyright rules then post a working URL where your vbHL will be installed.
then i will send you the password asap.

regards,
TECK.

Mr_P
10-04-2002, 02:22 PM
Why is zip in first post passworded.............

OK just read first post proper now as was in rush before.

You got me stump now as i aint having it on a web server.I do most things on me own comp and now I cant compare this hack to the one you had before.I have the previous one and was just gonna compare the 2 together.

Do see your point though that you dont want your Copyrigth removed.

TECK
10-04-2002, 02:28 PM
if you are not happy, don't install it. nobody is forcing you to use my script.
you didnt even bothered to read the first post...

TECK
10-04-2002, 02:31 PM
Originally posted by Mr_P
Why is zip in first post passworded.............

OK just read first post proper now as was in rush before.

You got me stump now as i aint having it on a web server.I do most things on me own comp and now I cant compare this hack to the one you had before.I have the previous one and was just gonna compare the 2 together.

Do see your point though that you dont want your Copyrigth removed. np, when you have a URL, like the one you provided for vBulletin, let me know.

cheers.

Smoothie
10-04-2002, 04:22 PM
TECK-

Haven't had time to try vbHome yet, but after reading thru some 60 pages of this thread, it seems you have worked very hard to make a near perfect script. Just wanted to say thanks for all your effort.

Marshalus
10-04-2002, 05:06 PM
Wow, 12 queries, I am very impressed.

Pretty soon this script will accually make your site run FASTER ;)

* Marshalus installs v3.3

TECK
10-04-2002, 05:10 PM
what do you mean marshalus?
ya it's being optimised again the code a little i hunt the queries that are not needed...

nokia8860
10-04-2002, 05:25 PM
TECK is gonna hate me for this... but my polls are not showing up on the home page. Same problems as before where the box for the polls will show up but no poll


Me runs and hide from TECKS wrath now

TECK
10-04-2002, 06:04 PM
minor update on the code, i corrected also the plural for your threads and articles since your last visit.
now it displays correctly "1 article", instead of "1 articles".

Use your member password to access the information.

TECK
10-04-2002, 06:06 PM
hmm nokia, make sure you have this code:
") and $poll['pollid']) {
$pollid = $poll[pollid];
you probably dont have the latest file. clear your temporary files always before you download a file. let me know if you have that piece of code in your index.php, i'm sure you dont.
contact me on msn, my handle is nakkid@msnDOTcom

Tigga
10-04-2002, 06:08 PM
Teck! Please check your PM's. :)

TECK
10-04-2002, 06:09 PM
i did plurplanet. is funny how you remembered to place back the copyright exacly how it suppose to be, for a person who never noticed the copyright note, as you stated... since you decided to remove it completly.

you can use some other script plur.

regards.

Tigga
10-04-2002, 06:19 PM
That's fine if that's the way you feel. As I said, I'm sorry for the mistake. I still have the unzipped file with the instructions, so I went back and looked over them to find out what copyright info was supposed to be in the footer template. I didn't notice it the first time as I simply created a footer template with my own copyright info. Either way, if that's your decision I will continue to use the version I have. Thank you for your work on the script.

TECK
10-04-2002, 06:24 PM
plur, please..
everywhere, in the templates, in the readme files and also here in the thread is specifically mentioned not to remove the links. but you did.
so when you edited the template you saw it saying "do NOT remove", like in vbulletin right? why do you remove my copyright, but not vBulletin's?
because my script is not an offcial vBulletin file? it is because it uses it's functions, so removing completly the way you did the copyright is illegal. anyway i will speak to john about this.

i will report to piracy any pirate that removed my copyright and my work, just because they don't feel like having a link. you can write your own script and dont display any copyright this way.

good luck with your work and site.

nokia8860
10-04-2002, 06:50 PM
all i have to say is when someone as cool as TECK comes in and shares all his hardwork with members of this community, it is only right that you show some respect and give credit where credit is due.

I for one am very happy to have found TECK work. Its easy to install ( I am a copy and paste guy, I know nothing of code) and best of all it works and works fast!

Keep up the good work TECK and I'll see you on v 3.4!

-joey

LeeCHeSSS
10-04-2002, 06:55 PM
I second that nokia! And not only does he create awesome scripts/hacks (vbHome & vbMicrostats are my favourites!), he does not mind helping others that use his scripts; currently talking to him on MSN...

Considering that and the fact he doesn't even want a donation, make him a top bloke. All in all; well worth 2 small links at the bottom of your site.

TECK
10-04-2002, 07:10 PM
please add your self to the mailing list by clicking on the Install button. that's the way i send links to the mini updates i make, like this one:
https://vborg.vbsupport.ru/showthread.php?postid=306047#post306047

in this way you stay updated.

soon, i will open my forums and i will have there a forum only for vbHome so you can discuss easier customizations and other problems. for now we use the great system provided by vBulletin.org.

all the best,
Floren Munteanu.

TECK
10-04-2002, 07:12 PM
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.

Tigga
10-04-2002, 07:15 PM
You're right Teck. I just looked over the readme file and there is a note near the top, then the copyright notice in the footer file itself. Sorry if I skipped straight to the instructions instead of reading the notes at the top. I'm not trying to argue with you here or start any bs because I really like your script and I think you do great work, but I don't appreciate being called a liar either. Believe me, if I wanted to use your script that bad without putting the copyright notice, there are plenty of programs out there to crack the password. Instead I went back to read the thread to find out why the new version was asking for a password. After I saw the copyright statement there, I went back to my readme file, saw what was supposed to be in the footer, and corrected it. Again, if I didn't have respect for you and your work, I would have simply cracked the password and installed the new version without the copyright notice. Instead I corrected the problem and apologized to you for my mistake.

hankster
10-04-2002, 07:19 PM
I would like to get a password for vbhomelite as I would like to try it.

TECK
10-04-2002, 07:22 PM
i took a further step plur, when i encrypted my zip file and make sure that it cannot be decrypted with the "toys" offered on the net.. go ahead and decrypt it.
and i dont call you a liar. the fact is that you deliberatelly removed the links on my script but not on vBulletin's. at least you could it leave only the vBulletin one, just the name. but it wasnt good enough.

also if you continue to use my current script that you have, the links and copyright must stay there, orelse you will have to take it off your server.
well, i'm sorry, but i dont change my mind.

regards.

TECK
10-04-2002, 07:23 PM
hankster, please post a website URL with vBulletin installed on it and i will pm you the password.
thank you.

TECK
10-04-2002, 07:37 PM
Just a warning, if I find out that some password holders deliberatelly distribute the script without my permission, i will remove the files.
anyway, this is just temporary until i have my forums open. then, it will be a members area where they can download their vbHL goodies.

hankster
10-04-2002, 07:40 PM
Teck, You have a PM

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
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
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
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:
$postid=$DB_site->insert_id();

BELOW, ADD:
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:
$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
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
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/showthread.php?postid=305923#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
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.

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
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:
$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
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/showthread.php?postid=305923#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 (https://vborg.vbsupport.ru/showthread.php?postid=306373#post306373) 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 (https://vborg.vbsupport.ru/showthread.php?postid=306373#post306373) 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
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
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
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
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
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:
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
Originally posted by refertech
wondering if a Coor's Light would help him. :)

Couldn't hurt...

refertech
10-05-2002, 11:03 PM
* refertech agrees at this point. :)

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:
<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... :)