vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vBadvanced Homepage (https://vborg.vbsupport.ru/showthread.php?t=59803)

Zachery 01-25-2004 09:35 AM

all good :) i think i got everything fixed :)

TheEDIGuy 01-25-2004 12:26 PM

Tigga and Faranth, remember when I installed a while back, and I said that the calendar events weren't showing up on the index page? I found out why, but not how to fix it.

What's happening is that only events that *I* add to the calendar show up. Since I have another (supermod) who does regular calendar additions, none of her additions show up on the front page.

Any ideas?

By the way, just installed on a fresh RC3, and things look great. Nice job!

digitalSite 01-25-2004 02:56 PM

Hi all:

Does anyone know:

1) Why all my images except "icons" folder don't show?
I have searched everywhere to make sure I have absolute paths for my images so that it shows, but I can't find where to tell vb where to go for the icons folder.

2) How I can make my vb forum as wide as the screen? I check the "index" template on vb, and it shows 100%, yet the forum is very narrow on a 1024 x whatever resolution.

3) How to prevent non-registered users from seeing the main FORUM page (i.e. forums/index.php) - It shows too much info to non registered user on my site, i.e. Who's Online, etc. I don't want anyone who is not registered to view the forum at all.

If I block non-registered users from "Viewing the Forum" then my vbAdvanced page doesn't work because then you'll just see the "You are not allowed to view this page, login, etc." page.

I'm sorry for all the questions, but I only had 3 hours of sleep last night messing with the new vb 3.0 C 3 and still haven't had this site up running properly.
It messed up another program I was running so I have been trying to get that fixed too (looks like I overwrote an "index.php" by accident and that's where the whole thing messed up.)

Anyway, I would appreciate any help :D Thank you.

digitalSite 01-25-2004 03:00 PM

Quote:

Originally Posted by TheEDIGuy
Tigga and Faranth, remember when I installed a while back, and I said that the calendar events weren't showing up on the index page? I found out why, but not how to fix it.

What's happening is that only events that *I* add to the calendar show up. Since I have another (supermod) who does regular calendar additions, none of her additions show up on the front page.

Any ideas?

By the way, just installed on a fresh RC3, and things look great. Nice job!

Hi:
Have you tried checking "Usergroups"?
After clicking usergroups, click Supermod.
Then scroll down to the Calendar permissions and check there.

TheEDIGuy 01-25-2004 05:41 PM

Quote:

Originally Posted by digitalSite
Hi:
Have you tried checking "Usergroups"?
After clicking usergroups, click Supermod.
Then scroll down to the Calendar permissions and check there.

The supermod is able to add things to the calendar just fine. But the items that the supermod adds to the calendar don't show on the front page (they do not cause a clickable link under the day in the mini-calendar). Only items that *I* add produce the clickable link.

If you look at the calendar, however, everything shows, regardless of who added it.

Sample at http://www.fansofrealitytv.com

Cali, a supermod, has added most of the items except for the one item I (the admin) added on the 22nd, which has produced the only clickable link (even though every single day has calendar items).

M.C. 01-25-2004 06:59 PM

strange but straight after changing The ID number of news forum i`ve got MySQL error:

PHP Code:

Invalid SQLSELECT thread.threadidthread.titlereplycountpostusernamepostuseridthread.dateline, IF(views<=replycountreplycount+1views) AS viewsforumidthread.iconidvotenumvotetotalpost.postidpagetextallowsmilieshowsignature
              
avatarpathNOT ISNULL(avatardata) AS hascustomcustomavatar.dateline AS avatardateline  
              
,thread.iconid 
               
,attachment.filenamefilesizeattachment.visibleattachmentidcounterthumbnailLENGTH(thumbnail) AS thumbnailsize 
                FROM thread 
AS thread
                LEFT JOIN post 
AS post ON (post.postid thread.firstpostid
                
LEFT JOIN user AS user ON (user.userid post.userid
                
LEFT JOIN avatar as avatar ON (avatar.avatarid user.avatarid)
                
LEFT JOIN customavatar as customavatar ON (customavatar.userid user.userid)  
                
LEFT JOIN attachment AS attachment ON (post.postid attachment.postid)
                
WHERE forumid IN(3)
                
GROUP BY post.postid
                ORDER BY dateline DESC
attachmentid LIMIT 5
mysql error
Column'filesize' in field list is ambiguous

mysql error number
1052

Date
Sunday 25th of January 2004 08:58:22 PM
Script
http://localhost/adv_index.php?styleid=2
Referer
UsernameM.C.
IP Address127.0.0.1 

I was testing on localhost that hack when i got that...

What i did wrong?

Ok i got it, I disabled "show attachements" and it`s work fine, BUT i want it work fine with "show attachements" enabled :(

And one more strange thing - in installation a gave right icons path (http://localhost/forum/images/icons/icon1.gif), but it show path like that: http://localhost/images/icons/icon1.gif

And for emprovement of hack i`d love to have option to change blocks position (left, right, center and up and down)

Thanks!

jaliam 01-25-2004 07:53 PM

<font color="DarkOrange">* Clicks install *</font>

Ok, I have made some modifications in my portal already but I want to do more. How about making an image display on the main page instead of a simple image path? This is what I am talking about...

Zachery 01-25-2004 08:11 PM

Quote:

Originally Posted by M.C.
strange but straight after changing The ID number of news forum i`ve got MySQL error:

PHP Code:

Invalid SQLSELECT thread.threadidthread.titlereplycountpostusernamepostuseridthread.dateline, IF(views<=replycountreplycount+1views) AS viewsforumidthread.iconidvotenumvotetotalpost.postidpagetextallowsmilieshowsignature
             
avatarpathNOT ISNULL(avatardata) AS hascustomcustomavatar.dateline AS avatardateline 
             
,thread.iconid 
              
,attachment.filenamefilesizeattachment.visibleattachmentidcounterthumbnailLENGTH(thumbnail) AS thumbnailsize 
                FROM thread 
AS thread
                LEFT JOIN post 
AS post ON (post.postid thread.firstpostid
                
LEFT JOIN user AS user ON (user.userid post.userid
                
LEFT JOIN avatar as avatar ON (avatar.avatarid user.avatarid)
                
LEFT JOIN customavatar as customavatar ON (customavatar.userid user.userid
                
LEFT JOIN attachment AS attachment ON (post.postid attachment.postid)
                
WHERE forumid IN(3)
                
GROUP BY post.postid
                ORDER BY dateline DESC
attachmentid LIMIT 5
mysql error
Column'filesize' in field list is ambiguous
 
mysql error number
1052
 
Date
Sunday 25th of January 2004 08:58:22 PM
Script
: [url]http://localhost/adv_index.php?styleid=2[/url]
Referer
UsernameM.C.
IP Address127.0.0.1 

I was testing on localhost that hack when i got that...

What i did wrong?

Ok i got it, I disabled "show attachements" and it`s work fine, BUT i want it work fine with "show attachements" enabled :(

And one more strange thing - in installation a gave right icons path (http://localhost/forum/images/icons/icon1.gif), but it show path like that: http://localhost/images/icons/icon1.gif

And for emprovement of hack i`d love to have option to change blocks position (left, right, center and up and down)

Thanks!

you didnt upgrade vBadvanced when you upgraded to RC3
Quote:

Originally Posted by digitalSite
Hi all:

Does anyone know:

1) Why all my images except "icons" folder don't show?
I have searched everywhere to make sure I have absolute paths for my images so that it shows, but I can't find where to tell vb where to go for the icons folder.

2) How I can make my vb forum as wide as the screen? I check the "index" template on vb, and it shows 100%, yet the forum is very narrow on a 1024 x whatever resolution.

3) How to prevent non-registered users from seeing the main FORUM page (i.e. forums/index.php) - It shows too much info to non registered user on my site, i.e. Who's Online, etc. I don't want anyone who is not registered to view the forum at all.

If I block non-registered users from "Viewing the Forum" then my vbAdvanced page doesn't work because then you'll just see the "You are not allowed to view this page, login, etc." page.

I'm sorry for all the questions, but I only had 3 hours of sleep last night messing with the new vb 3.0 C 3 and still haven't had this site up running properly.
It messed up another program I was running so I have been trying to get that fixed too (looks like I overwrote an "index.php" by accident and that's where the whole thing messed up.)

Anyway, I would appreciate any help :D Thank you.

for 2
http://www.vbulletin.com/forum/showthread.php?t=88013
read that

you sorta need to let them view at least the news forum.

closing off your board to all guests isnt a good idea

1 you still need to update your counters and stuff :)
Quote:

Originally Posted by jaliam
* Clicks install *

Ok, I have made some modifications in my portal already but I want to do more. How about making an image display on the main page instead of a simple image path? This is what I am talking about...

enable BB code and img code for the front page :)

digitalSite 01-25-2004 08:25 PM

Okay. My web site is only for certain members of an organization. Guests can still view vbAdvanced on the front page, but they cannot read the entire article though.

Basically, the reason I did this was because I am using the referral system and WISH that only those with a referral can get inside. But since that doesn't exist,

I have guests get referred by current members, verify their email, and then must be approved by me, while double-checking with the referrer to make sure they did invite them in. It's too bad I have to do this one by one.

Because of the referral system, I did not want tguests to view forum members' username, which would allow them to register by entering in the referral ID - one less security wall for me. So that's why I didn't want them viewing anything on the forum.

P.S. Why isn't it a good idea for me to block out guests? Was the counter update to me?

If anyone has an easier system of "only referred guests can enter" please let me know. Thanks!

Zachery 01-25-2004 08:32 PM

Quote:

Originally Posted by digitalSite
Okay. My web site is only for certain members of an organization. Guests can still view vbAdvanced on the front page, but they cannot read the entire article though.

Basically, the reason I did this was because I am using the referral system and WISH that only those with a referral can get inside. But since that doesn't exist,

I have guests get referred by current members, verify their email, and then must be approved by me, while double-checking with the referrer to make sure they did invite them in. It's too bad I have to do this one by one.

Because of the referral system, I did not want tguests to view forum members' username, which would allow them to register by entering in the referral ID - one less security wall for me. So that's why I didn't want them viewing anything on the forum.

P.S. Why isn't it a good idea for me to block out guests? Was the counter update to me?

If anyone has an easier system of "only referred guests can enter" please let me know. Thanks!

well i guess if your going to get alot of invite traffic...

yes you do need to update the counters

i think this could be solved with a conditional but im not sure

digitalSite 01-25-2004 08:56 PM

Hmm..weird. I rebuilt everything, last time you told me to do so. I will try it again. Yes, I do get a lot of traffic because I am in a sorority and there are so many people who want to get in, lol.

Anyway, thanks for your help...I don't know how to mess with conditionals, but on my old board I just followed the steps to make "birthday field" required and just applied it that way to "referral" field. I am not sure if it will work on 3.0 though.

Also, know why my older icons are not working? Thanks...I have updated my counters now. Please let me know if you still see a problem.

FastAttack 01-25-2004 10:08 PM

Well I got a major Issue with the Login box..

It doesn't show the avatars and the login box doesn't work as of RC3.

anyone else have this problem?

AutomatikStudio 01-25-2004 10:16 PM

Well...i still have my problem w/ post icons and smilies being broken on the front page...but also...if you have a new private message it tries to go to website.com/private.php instead of website.com/boards/private.php....i don't know where else to change paths...i've checked over everything 5 or 6 times and everthing is the direct path...

FastAttack 01-25-2004 10:21 PM

Quote:

Originally Posted by AutomatikStudio
Well...i still have my problem w/ post icons and smilies being broken on the front page...but also...if you have a new private message it tries to go to website.com/private.php instead of website.com/boards/private.php....i don't know where else to change paths...i've checked over everything 5 or 6 times and everthing is the direct path...

what I did on that case I went to the buttons code and change the path of the links to /forums/blabla.php

and that fixes it

FastAttack 01-25-2004 10:38 PM

here is a copy of my problem :

M.C. 01-25-2004 10:39 PM

Quote:

you didnt upgrade vBadvanced when you upgraded to RC3
no, i did fresh install on RC3

AutomatikStudio 01-25-2004 10:41 PM

Quote:

Originally Posted by FastAttack
what I did on that case I went to the buttons code and change the path of the links to /forums/blabla.php

and that fixes it

buttons code? what is "buttons code"...can't say i've heard of that...

FastAttack 01-25-2004 10:48 PM

Quote:

Originally Posted by AutomatikStudio
buttons code? what is "buttons code"...can't say i've heard of that...

Copy down your navbar and header template into the index_header template.. and modify the links so that it searches under your forums folder.

If you still don't get it let me know :)

proxyMX 01-25-2004 10:48 PM

question
I want to add this to being my homepage, but my forums is in the sites root directory so that would mean over-writing the Vbulletin Index page,
any way i can have this as my homepage AND create a link to the actual forums in the navbar?

I also dont know how to customise the Custom Blocks....

FastAttack 01-25-2004 10:50 PM

Quote:

Originally Posted by proxyMX
question
I want to add this to being my homepage, but my forums is in the sites root directory so that would mean over-writing the Vbulletin Index page,
any way i can have this as my homepage AND create a link to the actual forums in the navbar?

I also dont know how to customise the Custom Blocks....

Like I told Auto..

copy your header and navbar templates into your index_header ( manipulate it so that everything looks right)

and edit your hyperlinks as you see fit.

digitalSite 01-25-2004 10:54 PM

Quote:

Originally Posted by FastAttack
Copy down your navbar and header template into the index_header template.. and modify the links so that it searches under your forums folder.

If you still don't get it let me know :)

Hehe, I don't get it :D

You mean copy the code in both navbar and header templates and paste them inside index_header template, then change the links? Is this correct?

AutomatikStudio 01-25-2004 11:09 PM

Quote:

Originally Posted by FastAttack
Copy down your navbar and header template into the index_header template.. and modify the links so that it searches under your forums folder.

If you still don't get it let me know :)

That's not what I'm talking about. Those work just fine...but say a user has the option to give them pop-up notification on new private message...well when they choose to open it...it tries to open the private message from website.com/private.php instead of website.com/boards/private.php

ImportPassion 01-25-2004 11:42 PM

Quote:

Originally Posted by 7thgenCivic.Com
I am getting the blank page issue myself. New install of vBA with RC3. I have no clue what the prob is.

Anyone? :disappointed:

Zachery 01-25-2004 11:45 PM

Quote:

Originally Posted by 7thgenCivic.Com
Anyone? :disappointed:

did you run the upgrad process?

FastAttack 01-25-2004 11:46 PM

Quote:

Originally Posted by digitalSite
Hehe, I don't get it :D

You mean copy the code in both navbar and header templates and paste them inside index_header template, then change the links? Is this correct?

yes thats correct.

ImportPassion 01-25-2004 11:47 PM

Quote:

Originally Posted by Faranth
did you run the upgrad process?

upgrade of what? I am using v1.01 and vb rc3. all new install. never had a prev install.

FastAttack 01-25-2004 11:47 PM

Quote:

Originally Posted by 7thgenCivic.Com
Anyone? :disappointed:

did you run the install script? that should be the reason why you get a blank page.

and my fellow automotive site maker check it out : http://www.srtforums.com

btw I figured out the user control box problem :D . it ended up being a simple call back error on the html page. I am thinking I got a bad download.

I am replacing the active topics of the portal with this one :

http://www.srtforums.com/forums/activetopics.php

ImportPassion 01-25-2004 11:48 PM

yes, i ran the install script.

FastAttack 01-25-2004 11:51 PM

Quote:

Originally Posted by 7thgenCivic.Com
yes, i ran the install script.

did you use the new installer he put out? and did you do the code changes to the index file ?

Milhouse 01-25-2004 11:51 PM

Quote:

Originally Posted by Faranth
Milhouse can you send me an admin login account? ill be happy to take a look at whats up
make sure i have full admin rights and am not just a admin, if you dont edit the admin permissions i cant help. :)

Unfortunately no i cannot do that. However i can assure you that the setting within the forums are correct and actually are at default from teh VB install.

It is vbadvanced that is linking to the wrong place. It uses the $newsicon variable however that varable it self does not exist or is linking to the wrong place. If you tell me what to put in the template instead of that variable i will change it.

ImportPassion 01-25-2004 11:53 PM

Quote:

Originally Posted by FastAttack
did you use the new installer he put out? and did you do the code changes to the index file ?

i don't know if it is a new installer. I have v 1.01
yes, i did the code changes. I am not new to hacking vb, but this has got me stumped.

In a prev post a mentioned that if I remove lines 3-77, I don't get an error.

M.C. 01-26-2004 12:04 AM

so what the problem with database and attachements? i did clean install as well, no prev installations, RC3

Zachery 01-26-2004 12:05 AM

check my post on the first page please :)

ImportPassion 01-26-2004 12:16 AM

i went back to the installer to just install templates, but that step 3 seems to not exist in the installer?

Zachery 01-26-2004 12:27 AM

wierd, im now having problems as well >.< im not sure why

krit 01-26-2004 12:30 AM

Hi guys,

Firstly thanks for the great addon. I'm new to vB and vBadvanced but they're both fantastic from my short fiddle with them. I noticed a post earlier in this thread but cant seem to find a reply on the same topic.

I want to include as a custom block a random post from a specific forum. If anyone could help me out with the coding for this it would be greatly appreciated!!

Thanks again for the great addon and great forum support.

Cheers
Krit

ImportPassion 01-26-2004 12:35 AM

I have uninstalled and reinstalled and still a blank page

digitalSite 01-26-2004 03:55 AM

Quote:

Originally Posted by FastAttack
yes thats correct.

Well, I tried that and although it keeps my front page looking normal, my icons are still not showing. Only some, but the newer ones are not showing. I changed all the links in the index_header template by adding /forums/ in front of them, but I don't know how it fixes the icons which are below the header area.

Anyway...we'll see what happens. I guess I will uninstall vbAdv and try it again and this time not have a "default" icon.

Thanks.

CarolinaKid 01-26-2004 04:21 AM

Quote:

Originally Posted by digitalSite
Well, I tried that and although it keeps my front page looking normal, my icons are still not showing. Only some, but the newer ones are not showing. I changed all the links in the index_header template by adding /forums/ in front of them, but I don't know how it fixes the icons which are below the header area.

Anyway...we'll see what happens. I guess I will uninstall vbAdv and try it again and this time not have a "default" icon.

Thanks.

the default icon is changed in admincp options and as far as editing your index header template why not change the folder and add /forums/ uders the image icons in the styles edit options.

digitalSite 01-26-2004 04:34 AM

If I understand you correctly, you are saying to go to edit templates and look for where they have "Latest Threads" and just add "/forums" in front of the icon variable...if this is what you are saying, I have already tried this.

This is what the threadbit template looks like:

Code:

<!-- cut -->
<tr>
<td class="$getbgrow">$thread[icons]<span class="smallfont"><b><a href="$vboptions[bburl]/showthread.php?t=$thread[threadid]" title="$vbphrase[a_last_post_by] $thread[lastposter] $vbphrase[a_at] $lastposttime">$title</a></b><br />
<if condition="$vboptions['showthreaddate']">$thread[date] $thread[time]<br /></if>
<!-- cut -->

Notice the $thread[icon]...if I do this /forums/$thread[icon] then all the threads on the latest threads column show /forums/ in front of the title of the thread. What's so weird is that everything there seems to be "relative" and works fine...all but the icons. Now, I can have it looking nice & pretty if I just don't select an icon (because I left the default icon url empty when I installed this again), but I don't want to. I want the icons to work...So, right now I am looking inside the actual "index.php" page to see what else I may try to do.


All times are GMT. The time now is 05:13 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.02327 seconds
  • Memory Usage 1,907KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (23)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