1
stumpy
js folder
  • 2006/3/31 12:46

  • stumpy

  • Just popping in

  • Posts: 21

  • Since: 2005/5/11


I notice when downloading some new themes they don't have the js folder in them which the default fold has.

Does this matter? Should I upload a copy from the default theme, I ran a link checker and my new theme has a link to this js folder, but the js folder is not in the new theme download.



2
stumpy
Re: What is RSS
  • 2006/3/14 17:36

  • stumpy

  • Just popping in

  • Posts: 21

  • Since: 2005/5/11


I too have been fiddling with the RSS in newbb

it's ok in Netscape and Firefox works fine but won't work with something like Feedreader

I get the following error

"server was found but Internet address you submitted does not contain feed subscription information, please check if you have entered right address"

http://I have removed this bit/modules/newbb/rss.php?f=1

now as I said this works fine on the RSS reader built into Netscape and Firefox but not on the stand alone reader (feedreader)

am I doing something wrong or is it the reader?

thanks

I have looked at this and I think it is because out site requires you to log in, any body know how to include the login in the url
E.G
http://I have removed this bit/modules/newbb/rss.php?f=1:username=****:passwoed=****

this don't work anybody know how to do this?

or another way around this?

thanks



3
stumpy
Re: newbb - hover colour
  • 2006/3/9 13:15

  • stumpy

  • Just popping in

  • Posts: 21

  • Since: 2005/5/11


Quote:

Quest wrote:
Quote:

Bandit-X wrote:
its using the class in style.css in the theme: td#centercolumn th


There are many places this could be and without seeing your site it is difficult to say exactly where to change it but here is what you are looking for in the style.css(which as BanditX says, probably located in your Theme (theme folder of the theme you are using).

It could be in the css for the Body or it could be somewhere else like BanditX points out which pertains specifically to the location of where the text link is you are trying to modify.

In any event you want to look in your style.css for this type of class or instruct. There could be more than one place this code could be inside the style.css so all you have to do is find the right ones for the specific location of the text you want to change.

The a below is the active link with color etc. (what shows before it is clicked on.

a
{
color: #FF6600;
text-decoration: none;
font-weight: bold;
}

The a: hover is what will show when the mouse curser moves over the link.

a:hover
{
color: #004080;
text-decoration: underline;
}

Xoopity doo dah, xoopity aye, my oh my what a xoopity day!





Quest - You are a star, changed the

a
{
color: #FF6600;
text-decoration: none;
font-weight: bold;
}

The a: hover is what will show when the mouse curser moves over the link.

a:hover
{
color: #004080;
text-decoration: underline;
}



It now works, thank you very very much.

and thanks to everybody else for the help and you time

Cheers everybody



4
stumpy
Re: newbb - hover colour
  • 2006/3/9 12:11

  • stumpy

  • Just popping in

  • Posts: 21

  • Since: 2005/5/11


Still having trouble with this, decided to take the hover out and just have a text link but again the color is red and hard to read, I can change this to another colour in the theme but this also changes the normal text which I don't want.

I have tried changing
.comTitle

I tried to add a colour to

comUserName
.comUserName {color: #990000}

this was
.comUserName {}

before I changed it

am I looking in the right place?

in newbb_thread.html the code refering to the text link is

<a id="forumpost<{$topic_post.post_id}>"></a>
<table class="outer" cellpadding="0" cellspacing="0" border="0" width="100%" align="center" style="border-bottom-width: 0px;">
<tr>
<th width="20%" align="left">
<div class="comUserName"><{$topic_post.poster.link}></div>
</th>

<th width="75%" align="left"><div class="comTitle"><{$topic_post.post_title}></div></th>
<th align="right"><div class="comTitle" style="float: right;"><a href="<{$xoops_url}>/modules/newbb/viewtopic.php?post_id=<{$topic_post.post_id}>#forumpost<{$topic_post.post_id}>">#<{$topic_post.post_no}></a></div></th>
</tr>
unless I am in the wrong place I think the text highlighted refers to the text link on the post when you are viewing a post and at the top it shows the posters name, when you click on the posters name it takes you to their details, this all works except I cat see how to chane the colour, the colour is red and changes to black when you place the mouse over the text.

any ideas, thanks



5
stumpy
Quick Reply
  • 2006/3/3 16:13

  • stumpy

  • Just popping in

  • Posts: 21

  • Since: 2005/5/11


I have turned off quick reply for users in the forum but it still shows for the webmaster, how do I turn it off for users with admin rights.



6
stumpy
text link
  • 2006/3/2 20:24

  • stumpy

  • Just popping in

  • Posts: 21

  • Since: 2005/5/11


how do i place a simple text link in the forum post (newbb_thread.html), this link will go to the posters details? and how would I change the colour

so I want to have the posters name listed at the top of the post and be able to link to his member details



7
stumpy
templates
  • 2006/3/2 12:29

  • stumpy

  • Just popping in

  • Posts: 21

  • Since: 2005/5/11


where are the cloned templates within the
public_html/ for the forum.
I've been tinkering with the newbb/template/ files and then
uploading them by FTP into the newbb/template folder. BUt this
will be replacing the original template set, not the custom template (or am I wrong in thinking this)
set. if I cut and paste them via XOOPS into the cloned templates there -
so they are stored somewhere!

Where are the cloned templates kept?! Can I upload the cloned template files by FTP or do I need to cut and paste each time?



8
stumpy
user drop down box
  • 2006/3/2 11:19

  • stumpy

  • Just popping in

  • Posts: 21

  • Since: 2005/5/11


I am working on newbb_thread.html and the drop down box


Originally it was the mammouth:

<div class="dropdown">
<{if $menumode eq 0}>

<select
name="poster" id="poster"
class="menu"

onchange="if(this.options[this.selectedIndex].value.length >0 ) { window.document.location=this.options[this.selectedIndex].value;}"
>
<option value=""><{$topic_post.poster.name}></option>
<{foreach item=bar from=$topic_post.poster.userbar}>
<{if $bar}>
<option value="<{$bar.link}>"><{$bar.name}></option>
<{/if}>
<{/foreach}>
</select>

<{elseif $menumode eq 1}>
<div id="poster<{$topic_post.post_id}>" class="userbar">
<table><tr><td>
<{foreach item=bar from=$topic_post.poster.userbar}>
<{if $bar}>
<a class="item" href="<{$bar.link}>"><{$bar.name}></a>
<{/if}>
<{/foreach}>
</td></tr></table>
</div>
<script type="text/javascript">document.getElementById("poster<{$topic_p ost.post_id}>").onmouseout = closeMenu;</script>
<div class="menubar"><a href="" onclick="openMenu(event, 'poster<{$topic_post.post_id}>');return false;"><{$topic_post.poster.name}></a></div>

<{elseif $menumode eq 2}>
<div class="userbar">
<ul>
<li>
<div class="item"><{$topic_post.poster.name}></div>
<ul>
<li><table><tr><td>
<{foreach item=bar from=$topic_post.poster.userbar}>
<{if $bar}>
<div class="item"><a href="<{$bar.link}>"><{$bar.name}></a></div>
<{/if}>
<{/foreach}>
</td></tr></table></li>
</ul>
</li>
</ul>
</div>
<{/if}>
</div>




The link that this is refering to is currently a drop down menu bar (class="menubar") within the script. This leads to a pull down menu that only has the persons name in it because I've disabled everything else! I want to change this for a simple link to their user profile. So all you'd see you be a white link. The class=white is set up in the css fine - that's not the problem. The problem is getting rid of the menu bar, and then making the link actually link to the user profile. Deleting the class from the div description doesn't make a difference.

Something close to (but this won't work :o( ):

<div class="menubar"><a href="../../modules/profile/userinfo.php?uid=$topic_post.poster.uid" class="white"><{$topic_post.poster.name}></a></div>

Maybe (but again doesn't work):

<div class="comTitle"><a href="../../userinfo.php?uid=<{$topic_post.poster_id}>#uid<{$topic_ post.poster_id}>"><{$topic_post.poster.name}></a></div>

anyone any idea what I am doing wrong?



9
stumpy
newbb - hover colour
  • 2006/3/2 10:48

  • stumpy

  • Just popping in

  • Posts: 21

  • Since: 2005/5/11


I am trying to change the hover colour of the user name at the top of a post from red to white because I find the red hard to read, i think i need to change the colour in a class somewhere, the text I required to change is in newbb_thread.html

At the moment the user name is in red which is hard to read, I want to change this to white, when you place the mouse over the text it turns black, the link colour is black which is ok.

I have used search but found nothing, if you can help or know of a post on here which may help I would be most grateful.



10
stumpy
Re: Avartar Problem
  • 2006/2/28 22:13

  • stumpy

  • Just popping in

  • Posts: 21

  • Since: 2005/5/11


Quote:

svaha wrote:
Did you (as user) : view account : avatar : choose avatar ?


Yes it shows up there, and if I upload another it uploads ok and can be seen there, but not showing after posting, I am thinking something to do with a template.

In the forum the Avartar properties list as below, so it knows where the Avartar should be but not finding it.
(I think)


http://www.mydomain.co.uk/modules/newbb/templates/%3C%7B$xoops_upload_url%7D%3E/%3C%7B$topic_post.poster.avatar%7D%3E

maybe some missing code in a template but not sure which one and if it is, then not sure how it got deleted in the first place, apart from doing something silly and not thinking..

Cheers if you can help?




TopTop
(1) 2 3 »



Login

Who's Online

215 user(s) are online (140 user(s) are browsing Support Forums)


Members: 0


Guests: 215


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits