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

NTLDR 10-27-2002 07:40 PM

I'll look into that, the best bet for smilies to show is via IMG code if that works. I'll try and install 2.2.7 on localhost tomorrow and have a look, but comparing the fuctions.php for both the bbcodeparse function is the same.

Buddha 10-27-2002 07:55 PM

here's another kicker for you... it's not that it has a hard time with nested tables, but rather, if the post is long enough that it needs to add the "..." for the read more feature, well this is what happens.
(check attached image)

NTLDR 10-27-2002 08:07 PM

Theres nothing that can be done about that I'm afraid.

This is how it works, it takes the first X characters of the post text and then bins the rest, even if its in the middle of vBcode or HTML. I'm think perhaps thats what your problem may be? Have you tried the origional code with the character limiter switched off (set to 0)?

BTW good job on the design, its looking great :D

Buddha 10-27-2002 08:56 PM

yeah, if i have the limiter switched to 0, then i'm alright. and your explanation as to why it's cut off makes perfect sense... guess i won't be able to use that feature... ah well.

thanks for the compliment on the design.
i didn't change too much of your original placement of things... my next style for this though will be quite different.

anyway, thanks for all the help buddy.

wolfe 10-28-2002 08:22 PM

getting error

Parse error: parse error in /usr/local/psa/home/vhosts/s2k2.com/httpdocs/vbindex.php on line 115

on vbindex.php

NTLDR 10-28-2002 08:26 PM

As I have said many times:
  • No one can help if you don't post whats around the lines you get the parse error as we don't know what code is there.
  • Check you have edited the files correctly. I know for a fact you haven't

wolfe 10-28-2002 08:35 PM

the code on that line is

} // end of vB

Chris M 10-28-2002 08:36 PM

@NTDLR - It isnt like that when the tags cuts out...

I had an error with it when I used a [php] tag...It sent the entire column smack-bang into the right bar...

Satan

wolfe 10-28-2002 08:37 PM

also if its before the forums dir if its in the main dir what would i put here

chdir('x');

would it be

chdir('.');

or

chdir('./');

or

chdir('/');

NTLDR 10-28-2002 08:47 PM

Quote:

Originally posted by wolfe
the code on that line is

} // end of vB

You haven't followed the install instructions and added the code that needs to be added to vbindex.php

NTLDR 10-28-2002 08:50 PM

Quote:

Originally posted by hellsatan
@NTDLR - It isnt like that when the tags cuts out...

I had an error with it when I used a [php] tag...It sent the entire column smack-bang into the right bar...

I'm not sure what you saying, do you mean you got an error when using [php] vBcode in newsposts?

And LOL @ hellsatan's Dictionary of Terms... on DarkBlazes :D

NTLDR 10-28-2002 08:51 PM

Quote:

Originally posted by wolfe
also if its before the forums dir if its in the main dir what would i put here
You put:

PHP Code:

chdir('./forums'); 

Assuming you forums are in a directory called forums.

Chris M 10-28-2002 09:01 PM

Hehe...Funny...It'll grow over time;)

About the [php] tags...

I tried to use a [php] tag in one of my news items, and because it was in the boundary of 300 characters, it displaced the page...

Satan

Chris M 10-28-2002 09:01 PM

Hehe...Funny...It'll grow over time;)

About the [php] tags...

I tried to use a [php] tag in one of my news items, and because it was in the boundary of 300 characters, it displaced the page...

Satan

NTLDR 10-28-2002 09:09 PM

Quote:

Originally posted by hellsatan
I tried to use a [php] tag in one of my news items, and because it was in the boundary of 300 characters, it displaced the page...
The only thing that can be done to change that is modifying the vBcode for it as its the same with the forums, makes a real mess of the post when its longer than the width.

wolfe 10-28-2002 09:14 PM

getting problem with it

first off the totle online aint working :( and the news aint showing :(

i can fix the table colours but please help me :D

https://vborg.vbsupport.ru/

wolfe 10-28-2002 09:17 PM

also when you fix this can u add the hack that adds Reviews :D

NTLDR 10-28-2002 09:18 PM

You haven't copied the code properly. Follow the instructions already in this thread to get the news posts to appear correctly.

wolfe 10-28-2002 09:21 PM

what page d00d :D

FleaBag 10-28-2002 09:40 PM

All working well with 2.2.8. Thanks again for everyone's work! :)

wolfe 10-28-2002 10:41 PM

i have redesigned the New bit but with this you can see where the news should be. I have put an arrow.


also i can't find the fix in this thread


http://www.s2k2.com/prob2.gif

wolfe 10-29-2002 12:05 AM

also 1 last favour can u please edit this so its conpatible with vBindex

scopeman 10-29-2002 12:11 PM

hi

how can i exclude private forums from the latest threads box? i don't want that guests or user can see the title of the threads!


much thx :D

Chris M 10-29-2002 12:33 PM

@wolfe - Have you made the changes to admin/misc.php?

If so, goto "Update Counters" in your Admin Control Panel, and do the "Update postid's For Threads" option - That should get your news back...

@scopeman - The private forum's threads cannot be seen...You can only see them because you are an Admin...Try creating a new thread in one of the private forums, logging out, then viewing the vBindex - You will find that you cannot see it...When you login however, you will be able to - This is because you are an Admin, and by default have access to all forums:)

Satan

NTLDR 10-29-2002 12:33 PM

Quote:

Originally posted by scopeman
how can i exclude private forums from the latest threads box? i don't want that guests or user can see the title of the threads!
If you have explicity set the permissions for each group for the forums and they don't inherit the permissions then they won't show, otherwise they will. I've already posted the details on how to exclude forums in this thread.

sHORTYWZ 10-29-2002 12:34 PM

I have the same question as scopeman.. I tried logging out and I was still able to see the subjects for threads posted in the private boards.. anyway to fix this?

Great hack BTW, absolutely love it.

Chris M 10-29-2002 12:45 PM

Make sure that you have "Is Private Forum?" switched on in the Forum options...

If that doesnt work, make sure your Forum permissions dont allow Guests to view Threads;)

Satan

scopeman 10-29-2002 01:03 PM

Quote:

Originally posted by sHORTYWZ
I have the same question as scopeman.. I tried logging out and I was still able to see the subjects for threads posted in the private boards.. anyway to fix this?

Great hack BTW, absolutely love it.



yes the same :ermm:

wolfe 10-29-2002 01:14 PM

Quote:

Originally posted by hellsatan
@wolfe - Have you made the changes to admin/misc.php?

If so, goto "Update Counters" in your Admin Control Panel, and do the "Update postid's For Threads" option - That should get your news back...

Satan

thanx d00d lol forgot stupid me lol

wolfe 10-29-2002 01:17 PM

1 more thing my users online and my guests aint working :(

sHORTYWZ 10-29-2002 03:11 PM

weird.. post didn't show up -

anyways..

I have everything setup correctly permissions wise - people can't view the threads, read them, anything using the normal forum interface.

Buddha 10-29-2002 03:13 PM

Quote:

Originally posted by wolfe
1 more thing my users online and my guests aint working :(
check back several pages buddy. that's been brought up more than once. ntldr took that feature out... but it's still in the template. you'll have to manually remove it.

hope that helps.

NTLDR 10-29-2002 03:58 PM

Quote:

Originally posted by wolfe
1 more thing my users online and my guests aint working :(
If you mean currently active users then as I've already told you numerous times, you haven't followed the install instructions.

If you mean number online today, then Buddha is correct it has been removed from vBindex v2.1.

wolfe 10-30-2002 01:06 AM

ok sorted and did redesign but 1 more problem i have made tables for a few things but is there a way of making the Buddies list show

"You Currently Have No Buddy"

if you have none heres the code what do i change :D

Code:

// start buddies
// -------------------------
$datecut = time() - $cookietimeout;
$buddyuserssql=str_replace(" ","' OR user.userid='",$bbuserinfo[buddylist]);
$sql="SELECT userid,username,invisible,lastactivity
      FROM user
      WHERE (user.userid='$buddyuserssql')
      ORDER BY username";
$buddys=$DB_site->query($sql);

$onlineusers="";
$offlineusers="";
while ($buddy=$DB_site->fetch_array($buddys)) {
        if ($doneuser[$buddy[userid]]) {
                continue;
        }
        $doneuser[$buddy[userid]]=1;

  if ((!$buddy[invisible] or $bbuserinfo['usergroupid']==6) and $buddy[lastactivity]>$datecut) {
    $onoff="on";
    $color="#00D200";
  } else {
    $onoff="off";
    $color="#FF0000";
  }

  eval("\$var = \"".gettemplate("home_buddy2")."\";");

  if ($onoff=="on") {
    $onlineusers.=$var;
  } else {
    $offlineusers.=$var;
  }
}
// -------------------------
// end buddies


wolfe 10-30-2002 02:14 AM

well fixed that problem :D

but here the new look i made also i will post it with the new buddy layout when one of my buddy are on :D

http://www.s2k2.com/new.gif





also i get a problem i set all group settings right but my guests can't see the vBindex page whats up :(

wolfe 10-30-2002 02:15 AM

please help me out :D

wolfe 10-30-2002 02:17 AM

this was the original layout see the difference :D

oh **** noticed i lost my menu well will fix that in a few mins :D

http://www.s2k2.com/prob.gif

Buddha 10-30-2002 11:34 AM

looks like you just have borders around the tables... other than that looks fine.
it's in the news and newsbit templates.

NTLDR 10-30-2002 12:00 PM

Quote:

Originally posted by wolfe
also i get a problem i set all group settings right but my guests can't see the vBindex page whats up :(
If guests cannot view the board they cannot view vBindex.

wolfe 10-30-2002 12:39 PM

how can i change it so they can view vBindex and the news but they can't go on the board thats like a sneak peek then they register :D


All times are GMT. The time now is 08:03 PM.

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.02750 seconds
  • Memory Usage 1,825KB
  • 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
  • (1)bbcode_php_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete