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)

Ogmuk 01-08-2004 10:36 PM

Nice to see your hack here after helping squashing a few bugs with the earlier versions on vbulletin.nl, Tigga ;)

The older version was working for me but I keep getting empty pages, when loading adv_index.php, with this newer one (after changing the chdir line). It could be caused because I clicked on upgrade since I was stupid enough not to read your very clear guide here which says that this is not necessary, but I'm not 100% sure if that's causing the problem.

Nmidia 01-08-2004 10:41 PM

Hi there - totaly new to this lark, so please bear with me.

I have installed the front end, which by the way looks damn fine. However, I am totally unsure how to edit the custom blocks. I have manged to set some up in VBindex because they add templates to the style menu. How do I go about doing this in vBadvanced? A quick guide would be really welcome for me and i'm sure other novice users (try and keep it basic!!).

Also, when I click on my header image it forwards me to http://legionsofloki.com/index.php. However, my forum is located at http://legionsofloki.com/Forum/index.php. The link in the navbar seems to work ok. The calander also seems to be pointing to the wrong path for me, when I click on the month header.

Also, how do I change the page positioning of the boxs? For instance, if I set up a Custom Block with site links in it, how do I get it to be distplayed as the top left box?

Thanks in advance, and again, great bit of coding!

Tigga 01-08-2004 11:17 PM

Ogmuk - Can you give me a link to the page? What version were you running before? Also, did the upgrade actually go all the way through, or did it give you an SQL error?

Nmidia - All the templates are with the regular vB templates, listed under "Index". That's where you can modify your custom templates, and you can modify your index template to move the blocks around. Everything in that template is well commented, so it should be easy to figure it out. To change the URL the header image points to you would need to modify the index_header template. I just checked the calendar, but it seems to be pointing to the right place...

Gio Takahashi 01-08-2004 11:18 PM

hmmm..I got this.

PHP Code:

mysql errorUnknown column 'type' in 'field list'
mysql error number1054
Date
Thursday 08th of January 2004 05:16:03 PM
Script
: [url="http://www.unitedempire.net/forum/admincp/advindex_install.php?step=3"]http://www.unitedempire.net/forum/admincp/advindex_install.php?step=3[/url]
Referer: [url="http://www.unitedempire.net/forum/admincp/advindex_install.php?step=2"]http://www.unitedempire.net/forum/admincp/advindex_install.php?step=2[/url] 

While installing

Tigga 01-08-2004 11:22 PM

Looks like you're trying to install one of the old versions made for vB3 Beta. Download the current version from the first post. ;)

Ogmuk 01-08-2004 11:23 PM

When I got the SQL error I stopped the upgrade. I'll PM you the URL.

Gio Takahashi 01-08-2004 11:23 PM

I did use the one from the attachment.

Tigga 01-08-2004 11:33 PM

You couldn't have... The 'type' field was from an old version, plus I can tell from the URL in that error that it was from an old version because I changed the steps from numbers to phrases. Download the zip from the first post and it will work.

Nmidia 01-08-2004 11:35 PM

Quote:

Originally Posted by Tigga
Nmidia - All the templates are with the regular vB templates, listed under "Index". That's where you can modify your custom templates, and you can modify your index template to move the blocks around. Everything in that template is well commented, so it should be easy to figure it out. To change the URL the header image points to you would need to modify the index_header template. I just checked the calendar, but it seems to be pointing to the right place...


Thanks Tigga, Worked! Managed to sort the links out by simply adding /Forum/ before the page name. I needed to update the calander link as well as the header.

Gio Takahashi 01-08-2004 11:44 PM

okay, I fixed that and got the right installer. No error in this installation, and did everything. and now I get a blank white page. see for yourself. http://www.unitedempire.net/index.php

Tigga 01-09-2004 12:09 AM

Are your index templates listed with the others?

Gio Takahashi 01-09-2004 12:25 AM

yes it is.

I figured out the problem, and it was the server thats being a dumbass. Its all fixed. No wI have to determine WHICH portal to use >.>

Tigga 01-09-2004 12:45 AM

What exactly was the problem? One other person so far has said that they had the same problem with the page being blank... They uploaded the older version of the script and it worked just fine, so I'm wondering if there's something in there that certain server configurations don't like...

Nmidia 01-09-2004 09:10 AM

Quote:

Originally Posted by Tigga
What exactly was the problem? One other person so far has said that they had the same problem with the page being blank... They uploaded the older version of the script and it worked just fine, so I'm wondering if there's something in there that certain server configurations don't like...

Hi there - still loving your portal!! However, I would like to use the Shout bar from vbindex on this as well.

Fisrtly, would that be a problem for you? I mean, would you be offended if we mixed and matched? Secondly, how the hell would I do that?:)

Casparian 01-09-2004 10:22 AM

Love it! It's perfect. Though there are a few small things....
The who's online list has a space after names and before the comments which looks a bit messy? Can that be sorted? It also doesn't display users custom colours - for example, our Admin group members should be in red, and Paid Members should be in Green...
Listing Who's Online as one person per row would be great, like how it's done in most of the Nuke system modules? Then you could have a PM link beside each name?

On the Whos Online page, those on the portal index are displayed as being at "Unknown Location", any way to sort that out?

It also doesn't use the selected theme for header and footer? How do I add this manually, or make it work?
(For example, see http://forums.wiccauk.com/ for how it should look, at http://forums.wiccauk.com/adv_index.php for how it's displayed).

Finally - better instructions (or admin options!) to move the blocks about would be great. I'd like everything on the left except Recent topics on the right.... can anyone point me in the right direction?

Nmidia 01-09-2004 10:31 AM

how do I make the News boxes recognise html code?

Casparian 01-09-2004 10:40 AM

Quote:

Originally Posted by Nmidia
how do I make the News boxes recognise html code?

That's in the admin options.

Jean147 01-09-2004 12:09 PM

very very good work mate. Works like a sharm.

Rids 01-09-2004 12:29 PM

Only problem I seem to have is that the news and latest topic icons only show up if no icon is selected and the default icon is automatically inserted.

Default: http://www.technonuts.com/forums/images/icons/icon1.gif
Selected: http://www.technonuts.com/images/icons/icon14.gif

Jean147 01-09-2004 12:45 PM

Quote:

Originally Posted by Rids
Only problem I seem to have is that the news and latest topic icons only show up if no icon is selected and the default icon is automatically inserted.

Default: http://www.technonuts.com/forums/images/icons/icon1.gif
Selected: http://www.technonuts.com/images/icons/icon14.gif

Go to your Admin Panel and click on Post Icon Manager

You have to give your icons the complete path

now you have: 'icons/'

but you need to put in: 'http://www.technonuts.com/forums/images/icons/iconXYZ.gif'

It is the same with smilies in your NEWSbits. If you want to show them up you need to edit their path.

Then it will work for sure. :)

Rids 01-09-2004 12:53 PM

in my post icon manager the path to the example smiley that's not showing up is:

http://www.technonuts.com/forums/ima...ons/icon14.gif

So the path within vB is already correct. They work fine from within vBulletin but not on the front page.

Nmidia 01-09-2004 02:29 PM

Quote:

Originally Posted by Rids
in my post icon manager the path to the example smiley that's not showing up is:

http://www.technonuts.com/forums/ima...ons/icon14.gif

So the path within vB is already correct. They work fine from within vBulletin but not on the front page.

Just bumping my question.

Hi there - still loving your portal!! However, I would like to use the Shout bar from vbindex on this as well.

Fisrtly, would that be a problem for you? I mean, would you be offended if we mixed and matched? Secondly, how the hell would I do that?

Tigga 01-09-2004 03:42 PM

Nmidia - If you can figure out how to port the shoutbox from vBindex, then there's no problem here. You may want to check with them though as they may require a copyright notice or something like that since you're using their script. I will be making a shoutbox as an add-on for this soon... I'm working on getting vbadvanced.com up (hopefully by next week) where we will provide support for this scripts, hacks, and other stuff.

Casparian - I'm not quite sure I know what you mean by the spaces and comments in the who's online list... As far as the colors, I'm assuming that you're acomplishing that through the "Username HTML Markup" option, right? I'll be sure that's added in the next version. I don't think listing the online users in rows will ever be the default way it's done since that could cause that box to become huge, but I could probably release a hack for it once vbadvanced.com is up and running.
As for the "Unknown Location" on the Who's Online page, there is a fairly easy way to fix that. I'll have to find the code and post it when I have more time... Just an FYI though, only admin's will see the "Unknown Location" text - regular members will just see that they are on the forum's index page. ;)
To make your header look like your forum header, you will need to modify your index_header and index_footer templates to match your forum ones.
As for moving the blocks around, those can all be modified in the index template. Everything is well commented, so as long as you know at least a little HTML then it shouldn't be hard at all to move them where you wish.

Rids - I think the problem with the icons is that it's pulling them from the icon cache rather than the actual path that's in the database... At least that's the only thing I can figure since everything else does seem to be correct. Try modifying your thumbsup icon, just save it in the icon manager without making any changes, and let me know if that makes a difference.
I may need to throw some code in there to update the icon cache after the image paths are modified...

Rids 01-09-2004 04:05 PM

Yep, that worked, as soon as I saved the icon and refreshed it was there

Tigga 01-09-2004 04:08 PM

Glad that worked. I figured that had to be it. I'll be sure to add some code in to update the icon cache for the next version... Damn Jelsoft and all their new caching and other optimizations. :p

Rids 01-09-2004 04:12 PM

Thanks Tigga, I must say I'm loving this addon (it a lot more than a hack) :)

Nmidia 01-09-2004 04:19 PM

Quote:

Originally Posted by Tigga
Nmidia - If you can figure out how to port the shoutbox from vBindex, then there's no problem here. You may want to check with them though as they may require a copyright notice or something like that since you're using their script. I will be making a shoutbox as an add-on for this soon... I'm working on getting vbadvanced.com up (hopefully by next week) where we will provide support for this scripts, hacks, and other stuff.


Thats great new mate. I think I will be waiting for you then.

Meta 01-09-2004 05:27 PM

Hello Tigga,

i like vBadvanced very much! Well done.

I've had a small problem with too much cells in the minicalendar. But after reading this thread and doing what i was told now it works very nice.

Thank you for your work!

Zachery 01-09-2004 05:27 PM

glad you like it :)

scottct1 01-09-2004 07:32 PM

Ok, for my users who are not logged in / not registered I would like to display a box ie "custom 1" which will display ads from google.

However if they are registered and logged in I do not want them to see these ads.

I know VB has usergroup options, how do I setit up so if the usergroup is the unregistered/not logged in to show custom1 but for any other usergroup to not display it?

Any TECHNICAL detail on how to do this would be great. (like actual code) :)

Thanks in advance.

Zachery 01-09-2004 07:35 PM

Quote:

Originally Posted by scottct1
Ok, for my users who are not logged in / not registered I would like to display a box ie "custom 1" which will display ads from google.

However if they are registered and logged in I do not want them to see these ads.

I know VB has usergroup options, how do I setit up so if the usergroup is the unregistered/not logged in to show custom1 but for any other usergroup to not display it?

Any TECHNICAL detail on how to do this would be great. (like actual code) :)

Thanks in advance.

just to unregistered users?

<if condition="$bbuserinfo[userid] == 0"> $custom1</if>

just find $custom1 in the main index template and replace it with that :)

(site note 1,000th post :) )

Blackbeard 01-09-2004 07:49 PM

iam having a small problem at moment, i use custome box 1 for a site nav box and now things are not playing, it is more than likely me, so i will post what i did and attach a screenie.

<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="100%">
<tr>
<td>
<table cellpadding="4" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>$vboptions[blockbullet] Site Navigation</b></span></td>
</tr>
<tr>
<td class="alt1"><span class="smallfont">

<li><a href="http://Myweb site/index.php">Home</a></li>
<li><a href="http://Myweb site/forums/index.php">Forum Home</a></li>
<li><a href="http://Myweb site/chat.html">Chatroom</a></li>

</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />

could someone help please

Acido 01-09-2004 08:17 PM

Can you tell me how avoid that the unknow Location legend apears in Online Users when a visitor is looking at index.php ?

Thanx in advance ;)

Dark Jim 01-09-2004 08:26 PM

Nice hack but I'm having a problem. I created a template index_project_Oz. But when I go to index.php?page=project_Oz I get the error:
Quote:

Fatal error: Call to undefined function: parse_bbcode() in /home/thegamin/public_html/beta/index.php on line 555
Also the news avatar is not working. I have a custom avatar (custom avatars are stored as files, not in the database) and it's not showing because the url is http://beta.thegaminguniverse.com/fo...ine=1070663498. In the welcome box the url is correct (http://beta.thegaminguniverse.com/fo.../avatar1_0.gif).

What did I do wrong?

Dark_Wizard 01-09-2004 09:12 PM

Quote:

Originally Posted by Dark Jim
Nice hack but I'm having a problem. I created a template index_project_Oz. But when I go to index.php?page=project_Oz I get the error:
Also the news avatar is not working. I have a custom avatar (custom avatars are stored as files, not in the database) and it's not showing because the url is http://beta.thegaminguniverse.com/fo...ine=1070663498. In the welcome box the url is correct (http://beta.thegaminguniverse.com/fo.../avatar1_0.gif).

What did I do wrong?


Check all the threads prior to posting...this answers your error --> https://vborg.vbsupport.ru/showpost....4&postcount=53

gc1 01-09-2004 09:25 PM

is there anyway to insert your whole index.php where the news section is supposed to go?
Great hack BTW, I love it
TIA

gc

kneesparx 01-09-2004 09:52 PM

will this work with gamma?

Zachery 01-09-2004 10:17 PM

Quote:

Originally Posted by kneesparx
will this work with gamma?

it should, but you need to upgrade as vB.com no longer supports previous beta version

Zachery 01-09-2004 10:18 PM

Quote:

Originally Posted by Blackbeard
iam having a small problem at moment, i use custome box 1 for a site nav box and now things are not playing, it is more than likely me, so i will post what i did and attach a screenie.

<table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="100%">
<tr>
<td>
<table cellpadding="4" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>$vboptions[blockbullet] Site Navigation</b></span></td>
</tr>
<tr>
<td class="alt1"><span class="smallfont">

<li><a href="http://Myweb site/index.php">Home</a></li>
<li><a href="http://Myweb site/forums/index.php">Forum Home</a></li>
<li><a href="http://Myweb site/chat.html">Chatroom</a></li>


</span>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br />

could someone help please

remove <table cellpadding="$stylevar[outerborderwidth]" cellspacing="0" border="0" class="tborder" width="100%">
<tr>
<td>
see if it works after that

restless 01-09-2004 11:51 PM

crap... i got this:
Code:

Invalid SQL:
                SELECT
                userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
                IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
                        language.phrasegroup_calendar AS phrasegroup_calendar,
                        language.phrasegroup_advindex AS phrasegroup_advindex,
                        language.phrasegroup_postbit AS phrasegroup_postbit,
                        language.phrasegroup_global AS phrasegroup_global,
                        language.options AS lang_options,
                        language.languagecode AS lang_code,
                        language.charset AS lang_charset,
                        language.locale AS lang_locale,
                        language.imagesoverride AS lang_imagesoverride,
                        language.dateoverride AS lang_dateoverride,
                        language.timeoverride AS lang_timeoverride,
                        language.decimalsep AS lang_decimalsep,
                        language.registereddateoverride AS lang_registereddateoverride,
                        language.calformat1override AS lang_calformat1override,
                        language.calformat2override AS lang_calformat2override,
                        language.logdateoverride AS lang_logdateoverride,
                        language.thousandsep AS lang_thousandsep
                FROM user AS user
                INNER JOIN userfield AS userfield ON (user.userid = userfield.userid)
                INNER JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) INNER JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid))
                WHERE user.userid = 1
       
mysql error: Unknown column 'language.phrasegroup_advindex' in 'field list'

mysql error number: 1054



All times are GMT. The time now is 07:40 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.02610 seconds
  • Memory Usage 1,860KB
  • 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
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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