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)
-   -   vBindex (https://vborg.vbsupport.ru/showthread.php?t=37021)

wooolF[RM] 04-07-2002 08:08 PM

]yay! nice idea! could u PM me one karatekid? I have not released some yet... your one that I will rip will be my first, but shhhhhh, don't say to anyone! ;)

KarateKid 04-07-2002 08:14 PM

you're quiet cool :D

I wrote in the first lines of my explanation in the install readme were I got the original code from. So keep cool. :cool:

TECK 04-07-2002 08:18 PM

i know you did this. i mention it before. you are the only one who had the courtesy to explain it.

NTLDR 04-07-2002 08:24 PM

Quote:

Originally posted by -=dm=-
Thanx
now whole style looking correct :)
the only one thing I cant fix is the color where the backround color of
Thread l Threadstarter l Replies l Lastpost

Have you managed to fix this yet? If not the template you need to edit is home_threads just search in the text for threadstarter, that will take you to the right area and then you want something similar to the following where your code is:

<td width="15%" align="center" background="{imagesfolder}/back.gif"><smallfont color="{tableheadbgcolor}"><b>Threadstarter</b></smallfont></td>

background="{imagesfolder}/back.gif" refers to the background image if you use one, if not change that line to bgcolor="{tableheadbgcolor}" where {tableheadbgcolor} is the color you want the background to be. Do this for all three.

----------------

I don't think el3m3nt was / has been trying to claim creadit for all the hacks he has used that have been written by other users, he only released the file cus me and a couple of other users said that we would like to use it, he wasn't claiming credit in my opinion. I think that he didn't give credit to the original hackers as he feels that no one needs to creadit him if they use any code he produces and perhaps therefore asumed others think the same way, which of course not everyone does.

I do see you point though and el3m3nt should have creadited the original writer of the code and has done now, I don't think he has ever tried to claim the credit for other peoples code, but only for the fact that he managed to merge them in a way people want to use.

TECK 04-07-2002 08:32 PM

i understand. as i said earlier in the thread, i aproached him polite and asked him about it. he told me that he doesnt care about credits, only the file counts. please read the thread to understand better.

and personally i think we discussed enough this matter. el3m3nt doesnt look into my eyes as a thief. i'm sure that in his mind, he only tried to help others. unfortunatelly he chosed the easy way, copy and paste.

i dont write php code for a long time.. but in every single hack i downloaded from this site, i saw others giving credit for soemone else's work. so i did the same because it seemed to me logic and honest.

that's all i have to say.

all the best,
nakkid.

NTLDR 04-07-2002 08:37 PM

I didn't mean to sound rude nakkid, I agree with you 100% that he should have given you and the other hackers credit.

I know all the hard you work you and other people put in to help others and I know that I am most greatfull even if others are not.

I hope there's no hard feelings.

Regards,
Lee

TECK 04-07-2002 08:43 PM

one more thing. look at this new guy Darren. he wanted a main page also. he did his own hack in a different aproach. he asked in forums alot, because he's new. he learned the hard way and he spent hours to test. (i saw him working on this for almost a week - yes i do read almost every post out there) he came up with his first hack and he kindly answered to all my questions. he is modest and he's fair. he did a great job on his install.txt file and he detailed every single step carefully. and for a new guy, ne didnt forget to credit the user (one) he took a code segment.

what can you say to a person like that? you tell me please. everyone.
read his thread:
https://vborg.vbsupport.ru/showthrea...threadid=37134

NTLDR 04-07-2002 09:00 PM

I certainly agree that producing your own code and learning the hard way is far better in the long run, at least that way you get something out of it, a lot of knowlage and your able to feel proud of what you have created.

I have looked at his hack and I must agree it looks very good indeed and will be trying it out, thanks for pointing that out nakkid.

I guess its just alot harder for some then others, I know I have great difficulty in programming, in any language, which is the one of the areas I'd really like to be good in, yet in other areas of comptuting I excel.

Its a shame more people arn't as committed and honest as Darren and a majority of the other members are.

-=dm=- 04-07-2002 09:26 PM

Thaaaaaaanx NTLDR :):):)
now its just like how I want it:)

can you pleeeeease also help me with the newsimage icon?

thanx in avance

dm

NTLDR 04-07-2002 09:28 PM

Quote:

Originally posted by -=dm=-
Thaaaaaaanx NTLDR :):):)
now its just like how I want it:)

can you pleeeeease also help me with the newsimage icon?

thanx in avance

dm

No problem, glad I could help, I've read the thread but am not quite sure what the newsimage icon problem you have is?

Is it the non-existant icon0.gif problem? or something else? Let me know and I'll try my beft to help help you out.

-=dm=- 04-07-2002 09:38 PM

Thanx
Yes it the news icon0.gif I have copied the icon0.gif in the icon dir but still not working.
it shows up like this:

(brokenimage).gif" border="0"> NEWS (title)

NTLDR 04-07-2002 09:47 PM

Into which directory have you put icon0.gif into? It should be in { imagesfolder }/icons/ where { imagesfolder } is the directory where your images are, like the user cp, member list buttons etc are.

If your using the defualt template this will be forumurl/images (forumurl is the url to your forum directory)

If you don't know where { imagesfolder } is:

In the Admin CP, click styles, Modify, select fonts colours ect for the style you are using.

Find the Image Path section and the image folder path that is entered in the textbox there will point you to your { imagesfolder }

Let me know if this works or not.

-=dm=- 04-07-2002 10:13 PM

hmm...still not working

I have copied it the right place in the icon dir.

forums/images/icons/

this is from the vbindex.php
PHP Code:

 if ($news[iconid]!=0) { $icon="<img src=\"{imagesfolder}/icons/icon$news[iconid].gif\" border=0>"; } else { $icon=""; } 

thanx

NTLDR 04-07-2002 10:20 PM

Just tried what I posted in this message and it wasn't the solution!

NTLDR 04-07-2002 10:39 PM

OK, here's the Fix:

Change:

PHP Code:

if ($news[iconid]!=0) { $icon="<img src=\"{imagesfolder}/icons/icon$news[iconid].gif\" border=0>"; } else { $icon=""; } 

To:

PHP Code:

 if ($news[iconid]!=0) { $icon="$news[iconid]"; } else { $icon=""; } 

And your icons should appear and no icon will apear if one isn't selected in the post.

Can you update the zip with this fix el3m3nt?

Let me know to make sure this works for you -=dm=-

-=dm=- 04-07-2002 10:46 PM

Wooooooooow thank you NTLDR :):):)

You made my day now I can sleep well lol
now its working correct.

NTLDR 04-07-2002 10:51 PM

No problem, gald to of been some use for a change ;)

Hope you get it all working great.

PS your site looks pretty cool from that small screen shot :cool:

Let me know if you have any more probs :)

freeshares1 04-08-2002 07:40 AM

I have this all setup and am very impressed, However i have got one suggestion.

In the threads template it currently displays ALL new posts even ones in private forums for guests. Is there anyway that this can be changed to just reflect normal posts?

Also any html that is working in the post (say news post) will not come through onto vbindex

NTLDR 04-08-2002 12:25 PM

Quote:

Originally posted by freeshares1
In the threads template it currently displays ALL new posts even ones in private forums for guests. Is there anyway that this can be changed to just reflect normal posts?
See this post for the fix:

https://vborg.vbsupport.ru/showthrea...879#post237879

-=dm=- 04-08-2002 12:38 PM

Hi NTLDR & el3m3nt :)

I have a litle problem...members can not vote:( the get the no premission message:(

How can i fix this?

Tubbie 04-08-2002 01:19 PM

nice work

el3m3nt 04-08-2002 02:26 PM

Quote:

Originally posted by freeshares1
I have this all setup and am very impressed, However i have got one suggestion.

In the threads template it currently displays ALL new posts even ones in private forums for guests. Is there anyway that this can be changed to just reflect normal posts?

Also any html that is working in the post (say news post) will not come through onto vbindex

this problem is fixed in version 1.3 (release today).

el3m3nt 04-08-2002 02:38 PM

Quote:

Originally posted by nakkid
el3m3nt basically copied several hacks and put them toghehter. he first started with my hack. he liked the idea, analised the code... then he said: i will make something cool. let me rip a little from vbPortal and vBulletin.. ahh wait.. there are some cool hacks that i can also label as mines.. "today's users online", etc.
Quote:

Originally posted by NTLDR
I don't think el3m3nt was / has been trying to claim creadit for all the hacks he has used that have been written by other users, he only released the file cus me and a couple of other users said that we would like to use it, he wasn't claiming credit in my opinion. I think that he didn't give credit to the original hackers as he feels that no one needs to creadit him if they use any code he produces and perhaps therefore asumed others think the same way, which of course not everyone does.

I do see you point though and el3m3nt should have creadited the original writer of the code and has done now, I don't think he has ever tried to claim the credit for other peoples code, but only for the fact that he managed to merge them in a way people want to use.

nakkid, it was never my intention to claim credit for hacks which i havent written. As NTLDR said, i asked in the beta hacks forum.. if somebody would be interested in this hack. first i wrote this hack just for my website.

el3m3nt 04-08-2002 02:43 PM

ahja.. nakkid, question: why do you write me per pm, there is no problem for you (i wrote you that i copied the newscode from vbhome), but here you make such a huge thing around it? (dont know how to say this correctly in english :/)

el3m3nt 04-08-2002 02:56 PM

Quote:

Originally posted by -=dm=-
hmm...still not working

I have copied it the right place in the icon dir.

forums/images/icons/

this is from the vbindex.php
PHP Code:

 if ($news[iconid]!=0) { $icon="<img src=\"https://vborg.vbsupport.ru/images/icons/icon$news[iconid].gif\" border=0>"; } else { $icon=""; } 

thanx

actually you dont have to change this code. the mistake is that you havent updated the home_newsbit template.

but NTLDR proposed a solution which works too. the difference is, that with my solution you dont have to create a icon0.gif. when iconid==0 there wont be shown an icon.

el3m3nt 04-08-2002 03:32 PM

to everyone who installed vbindex: pls send me a pm with a link to your website. so i can add your link to the first post of this thread.. (more demo-sites).

thx

-=dm=- 04-08-2002 03:59 PM

Hi el3m3nt

I have already v1.2 installed, do I need to uinstall it and then rehack?
whats new in v1.3?

this hack changed the whole look of my forum, sure I?ll post the link when I finish the works.
it look way better now :)

btw Im having problem with poll block, members get the no premission message, how do I fix this?

thanx
dm

el3m3nt 04-08-2002 04:05 PM

hi dm,

in v1.3 you will now see only these threads which you have the permission to see.
for upgrading from 1.2 to 1.3 u have just to rehack (to uninstall makes no sense). means update the templates with the new ones and readd the original vbulletin code to the new index-file. then upload and it should be done :).

hmm.. well then you have to give them the permission to vote on these polls :). i'm quite sure that the permission to vote nothing has to with the vBindex script. can your members vote in the pollforum? if yes, they can also vote on the index-site.

-=dm=- 04-08-2002 04:14 PM

cool thanx I?ll start allover agan:D
no my users cant see the poll forum.
actually I hidden them like u say in readme.
Quote:

Create a pollforum and a newsforum. Write down the two forumids.
(You can hide these forums from normal users if you want.)
thanx

el3m3nt 04-08-2002 04:15 PM

jap .. but you have give the normal registered users the right to vote in this forum.

NTLDR 04-08-2002 04:22 PM

Quote:

Originally posted by -=dm=-
no my users cant see the poll forum.
actually I hidden them like u say in readme.

Have you just hidden the forum? Or have you made it Private? If it's just hidden it should work, you need to make sure that the permissions on the forum are set to at least: Can vote on polls
Yes, you may need to change some others to.

TECK 04-08-2002 04:36 PM

Quote:

Originally posted by el3m3nt
ahja.. nakkid, question: why do you write me per pm, there is no problem for you (i wrote you that i copied the newscode from vbhome), but here you make such a huge thing around it? (dont know how to say this correctly in english :/)
you said in the pm that you will give credit to everyone. i looked at the file after and you never did. that's the only reason i got a little high. i apologise.

el3m3nt 04-08-2002 04:57 PM

ah easy, nakkid. no problem. take the whole thing here not sooooo very seriously. of course, everyone should be correct and fair.. but don't let determine this your life.

el3m3nt 04-08-2002 05:00 PM

Quote:

Originally posted by NTLDR
Have you just hidden the forum? Or have you made it Private? If it's just hidden it should work, you need to make sure that the permissions on the forum are set to at least: Can vote on polls
Yes, you may need to change some others to.

exactly. when the members just may vote, then this option satisfy. i'm not sure if they can then also look at the pollresult. never tested.

TECK 04-08-2002 05:00 PM

is not to determine my life. is to be fair to everyone here on this board. that's all.

all the best,
nakkid.

el3m3nt 04-08-2002 05:07 PM

Quote:

Originally posted by nakkid
is not to determine my life. is to be fair to everyone here on this board. that's all.

all the best,
nakkid.

that is what i wrote ;).


a little note to vBindex:

look for..
PHP Code:

$getdailypost=$DB_site->query_first("SELECT count(*) AS posts FROM thread WHERE thrread.lastpost>=".(time() - (24 60 *60 $days))); 

this counts the new threads. if u wanna count the new posts.. replace it with..
PHP Code:

$getdailypost=$DB_site->query_first("SELECT count(*) AS posts FROM post WHERE post.dateline>=".(time() - (24 60 *60 $days))); 


-=dm=- 04-08-2002 06:02 PM

Quote:

Originally posted by el3m3nt

actually you dont have to change this code. the mistake is that you havent updated the home_newsbit template.

but NTLDR proposed a solution which works too. the difference is, that with my solution you dont have to create a icon0.gif. when iconid==0 there wont be shown an icon.

Now I have the same problem again:(

The NTDLR solution works perfect but not with u r new version.
cuz now it also showing the thread icon.

this version is even better, keep up the good work:)
Im so happy its like I got the vB v3.0 :D:D:D

EDIT EDIT: I have updated the home_newsbit template.

NTLDR 04-08-2002 06:49 PM

Do you get the error for the news and threads or just the threads now -=dm=-?

-=dm=- 04-08-2002 07:06 PM

Hi NTLDR
I get the same error like in the screenshot.
but the thread icons are showing up correct.

(brokenimage).gif" border="0">

NTLDR 04-08-2002 07:14 PM

So its the just the news error you have? Is that correct, I take a look now...


All times are GMT. The time now is 08:28 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.02408 seconds
  • Memory Usage 1,849KB
  • 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
  • (6)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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