PDA

View Full Version : [Journey with a noob] Just to say...thank you + some troubles solved


Morwyn
11-14-2004, 10:06 PM
Hello here,

First of, great job on the hack !

This is going to be reeeeaaally useful to me. I used lot of CMS (mambo, e107, ldu, postnuke, phpnuke blablabla) but this hack is going to be much more convenient, grafted on the VB database + it's really fast to load. So a big thank you.

Now here are some troubles I had and that I got solved thanks to this forum (been rummaging around):

Solved (may help other newbies) :

- If you use "html-kit" to edit php pages, the code for the function.php won't show up when using the control+f function...dunnow why. At first I thought I had a different function.php file but when cheking with wordpad the line we're asked to edit suddenly appeared....so if u do like me and use html-kit --> go w/ wordpad instead.

- I didn't know how to get "text" or "content" appeared in the center of the page, for instance some welcoming message etc...the answer is right here:

http://www.vbadvanced.com/forum/showthread.php?t=2706&highlight=content

So seems like the content is managed by what is called "templates" (sounds like a "theme" to me..that's how they're called for some CMS) . Create a new one, then go in "edit page" and add ur new custom template title in front of "Page Template:".

Hope this will help the real noobs like me.

Now some problems I've got to solve, not really annoying but still..got to solve them:

Unsolved yet :

- Problems with the date format below my avatar, in the login block, it just says "d/m/Y à g:i a" instead of displaying the actual date.

- Left and right columns width are not fixed. When I go to the settings and change the width of them, nothing happens. However this works for the "Spacing Between Columns". This may be due to my specific style, dunnow yet.

- Buttons at the top won't link to the forums, but should be ez to solve, probably have to enter full path in some header file.

I'll try to sort these problems out by myself a bit later but if you feel like answering them, feel free to do so :D

Can see the portal right here:

http://www.fragfan.com/cmps_index.php

using vb3.0.3 and version of vbadvanced available in member's area on this website as of today.

Brian
11-15-2004, 06:54 PM
Problems with the date format below my avatar, in the login block, it just says "d/m/Y à g:i a" instead of displaying the actual date.

- Left and right columns width are not fixed. When I go to the settings and change the width of them, nothing happens. However this works for the "Spacing Between Columns". This may be due to my specific style, dunnow yet.
Not sure why either of those would be a problem. Would you mind submitting a support ticket via the Member's Area here so I can have a look?


Buttons at the top won't link to the forums, but should be ez to solve, probably have to enter full path in some header file.
You need to edit your 'header' template and add $vboptions[bburl]/ in front of each link there.

Our Sponsors
 

Morwyn
11-16-2004, 06:44 PM
You need to edit your 'header' template and add $vboptions[bburl]/ in front of each link there.

All right, thank you ;). [edit: works great]

Would you mind submitting a support ticket via the Member's Area here so I can have a look?

Well..before submitting any info of my FTP account I'd rather have a look at it first. Didn't have time up to now + giving ftp info kinda needs...trust. But thx for your attention.

theMusicMan
11-17-2004, 08:02 AM
Morwyn - I understand your concerns but... errrrm... just in case you didn't know... Brian is well... GOD...hehe:)

He wrote CMPS and this is his site. If anyone is trustworthy on here, he most certainly is.

Our Sponsors
 

Morwyn
11-18-2004, 05:54 PM
Morwyn - I understand your concerns but... errrrm... just in case you didn't know... Brian is well... GOD...hehe:)

He wrote CMPS and this is his site. If anyone is trustworthy on here, he most certainly is.

:D All right alllll righhhhttt....I understand he probably is the most "trustworthy" here, and I am grateful to him for all his work.

However he is human too, what if his cat walks on the keyboard and press the "delete" key while he's browsing my ftp hum ?

Nah, no access to my whole site: no problem :). I'm sure that I can figure out the problems just by browsing this forum/rummaging the files/ask ;) .

theMusicMan
11-18-2004, 06:14 PM
Okies... if I can help... just ask...:)

Can't always help but I do enjoy trying...:):)

Brian
11-18-2004, 06:17 PM
However he is human too, what if his cat walks on the keyboard and press the "delete" key while he's browsing my ftp hum ?
My cats have learned that getting near my keyboard will earn them a one-way trip through the window. :p

If you come to something that you can't figure out yourself just let me know.

Morwyn
11-18-2004, 07:45 PM
lol Brian for the cat...

Well...I had a problem, but I solved it *so proud so proud*.

This concerns the "latest threads" hack available at vbulletin.org and problems with icons display since I installed vbadvanced.

Here's the hack I'm talking about:

http://www.vbulletin.org/forum/showthread.php?t=60544&page=1&pp=15

Quite useful if your users are not visiting the vbadvanced cms first. However, you will probably have some nightmares with the "icons" once u install vbadvanced after the latest thread hack.

To solve that, first you have to enter the full path of the default icon in the
admin panel >> Vbulletin options >> Thread display options
like indicated here:

http://www.vbadvanced.com/forum/showthread.php?t=966&highlight=image+path+icon

So now the icons display nicely on the portal, but it is...even worst in the latest threads hack. To correct that, go in your forumhome_latestthreadbit template that was created with the hack (the vbulletin.org one, latest threads) and replace:

<img src="$vboptions[bburl]/$thread[threadiconpath]" border="0" alt="$thread[threadicontitle]" title="$thread[threadicontitle]" style="vertical-align: text-middle" />

with:

<img src="$thread[threadiconpath]" border="0" alt="$thread[threadicontitle]" title="$thread[threadicontitle]" style="vertical-align: text-middle" />

See the $vboptions[bburl]/ that was erased ? That's the thing that screwed the icons in "latest threads hack" -_-....took me so long to get that. I'm probably going to post this correction on vbulletin.org, make some ads for vbadvanced :p.

Morwyn
11-23-2004, 05:56 PM
Update in the Journey:

I corrected the date formating problem, line 83 in news.php, replace current line by:

$dateposted = vbdate($vba_options['portal_news_dateformat'], $news['postdateline'], '', '');

note that the portal is now located at www.fragfan.com , trying to make my own theme. Still have to figure out how to make nice "frame" around blocks. I think 8 pics is enough (4 corners + 4 sides expanded), just need to figure out how to implement that now..