PDA

View Full Version : where do i insert text into a catagory pictire


jjcool777
02-15-2003, 06:16 PM
hi i have 5 catagory sections on my forums

well i want to type what sections they are

but how do i do this so the text is in the middle of each of the catagory images,

(see pic)

Tony G
02-15-2003, 09:24 PM
Can you make it a .jpg image please? .bmp's have a thing of not starting up once downloaded.

jjcool777
02-15-2003, 09:46 PM
ok mate heres the jpeg screen

jjcool777
02-15-2003, 09:52 PM
seems ive manages to put text centered in 1 catogry like the picture,

i.e general disscision,

but strange this is its on all the rest of my catogorie images ?

i wanted to put diffrent nameson my forum catagories, under each catagory image like the picture

but i just cant seem to work it out,

ive attached a picture on what i want to do,

(notice each catagory is named diffrent)

Tony G
02-15-2003, 10:44 PM
<a href="http://www.vbulletintemplates.com/mods/showthread.php?s=&threadid=9&highlight=centered" target="_blank">http://www.vbulletintemplates.com/mo...light=centered</a>

jjcool777
02-15-2003, 11:33 PM
thanks tony but i alreday done that mate,

my 1st catergory title on my forums is general disscision,

my 2nd catergory title is help & advice

etc etc

but the problem is,

my first top catergory title i named "general disscsion, it worked ok,

but it says general disscision on all catergory titles on the forum too ?

how do i name each catergory title seperate ?

thanx

jjcool777
02-16-2003, 12:38 PM
anyone ?

Tony G
02-17-2003, 03:11 AM
I still find that confusing, do you have a screenshot? Of your forum, that is.

jjcool777
02-17-2003, 12:44 PM
maybe this will help you more m8,

jjcool777
02-17-2003, 10:00 PM
no help ?

Tony G
02-18-2003, 03:14 AM
So the same forum category name is appearing three times because of this mod?

jjcool777
02-18-2003, 07:07 AM
yes tony

its appearing 3 times on my forum catogorys,
when i installed this modifacation ???
i wanted to name each forum catagory diffrent? not all the same ?

Tony G
02-18-2003, 07:52 AM
I don't see how adding a center tag could do that, or a align="center".

So when you take it off all returns to normal? Are you stull using the category variable?

jjcool777
02-19-2003, 12:43 AM
well i used this mod http://www.vbulletintemplates.com/mods/showthread.php?s=&threadid=9&highlight=Centered

it centered my text in the catogorys

but like described in the picture above i can t change my 2nd or 3rd catogory names?

Tony G
02-19-2003, 03:44 AM
Well this is really bizarre so I don't see the problem. Maybe post your forumhome_forumbit_level1_nopost.

jjcool777
02-19-2003, 11:29 AM
thanks tony here it is

<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="200"><img src="{imagesfolder}/left2.gif" border="0"></td>
<td align="center" background="{imagesfolder}/catbg2.gif" width="1000"></td>

<td width="200"><img src="{imagesfolder}/right2.gif" border="0"></td>
</tr>

</table>
</td></tr></table><br>
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="200"><img src="{imagesfolder}/left.gif" border="0"></td>

<td align="center" background="{imagesfolder}/catbg.gif" width="1000"><normalfont color="{categoryfontcolor}"><b>General Discussion</b></normalfont></td><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="{categoryfontcolor}"><b>$forum[title]</b></normalfont></a></td>
<td width="200"><img src="{imagesfolder}/right.gif" border="0"></td>
</tr>
</table>

<table bgcolor="{tablebordercolor}" cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">

<tr align="center">
<td bgcolor="{tableheadbgcolor}" background="{imagesfolder}/mbg.gif"><smallfont><b>New</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" background="{imagesfolder}/mbg.gif" width="80%" align="left"><smallfont color="{tableheadtextcolor}"><b>Forum</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" background="{imagesfolder}/mbg.gif"><smallfont color="{tableheadtextcolor}"><b>Posts</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" background="{imagesfolder}/mbg.gif"><smallfont color="{tableheadtextcolor}"><b>Threads</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" background="{imagesfolder}/mbg.gif" nowrap><smallfont color="{tableheadtextcolor}"><b>Last Post</b></smallfont></td>
</tr>

jjcool777
02-19-2003, 09:14 PM
anyone have any ideas ???

dan404
02-19-2003, 09:31 PM
your problem is you have the forum name typed in.

<normalfont color="{categoryfontcolor}"><b>General Discussion</b></normalfont>

Try removing that from each line and see if it works

Tony G
02-19-2003, 09:51 PM
Don't remove it, but use a variable. Never hardcode any forum names.

View your original template to find the variable and replace General Discussion with it.

If you can't find it, I'll get it for you.

jjcool777
02-19-2003, 09:52 PM
so do i remove

normalfont color="{categoryfontcolor}"><b>GeneralDiscussion</b></normalfont>

from forumhome_forumbit_level1_nopost??

if i remove it the dicussion wont be there anymore ?
in any catogories ?

unless i got it all wrong ??

jjcool777
02-19-2003, 09:53 PM
ok if u can please find it please tony that would be great ;)

Tony G
02-19-2003, 09:56 PM
Actually he is right, as you have the variable forum[title] underneath which is the varibale. This is the passage of the original code:


<tr id="cat">
<td bgcolor="{categorybackcolor}" colspan="6"><a href="forumdisplay.php?s=$session[sessionhash]&forumid=$forum[forumid]"><normalfont color="{categoryfontcolor}"><b>$forum[title]</b></normalfont></a>
<br><smallfont color="{categoryfontcolor}">$forum[description]</smallfont></td>
</tr>


So remove it, I say.

jjcool777
02-19-2003, 10:45 PM
ok thanx, i done that and now theres no catagory names ?????

this is really quizing me now :(

Tony G
02-19-2003, 11:05 PM
Make sure the variable $forum[title] is present and within the background code.

jjcool777
02-19-2003, 11:14 PM
is there any chance you can modify my forumhome_forumbit_level1_nopost template (above) and post the right code here please

as i dont that and its still not working ;(

been on ths 3 days now and still cant work it out

thanx in advance

dan404
02-20-2003, 12:59 AM
Contact me on AIM if you havent figured out the problem yet, I will try and help you out.

AIM: Alchemist XLE