1
bumpeboy
How can i delete the NEW Topic image.
  • 2009/10/16 19:35

  • bumpeboy

  • Friend of XOOPS

  • Posts: 170

  • Since: 2008/10/4


Hi all,

I think there is a way of removing the new post and poll image from those viewing the forum coz i dont want people to have a chance of starting new topics there.
I have attached an image to show what i mean.
Resized Image

If you look properly you can see the forum is UK and all others are subforums.

I dont want guys to start topics here but only inside the subforums.
Thanks in advance.

2
bumpeboy
Re: How can i delete the NEW Topic image.
  • 2009/10/23 18:48

  • bumpeboy

  • Friend of XOOPS

  • Posts: 170

  • Since: 2008/10/4


Any help?

3
ghia
Re: How can i delete the NEW Topic image.
  • 2009/10/24 1:25

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


The image is not accessible. Try to explain what you want.

4
bumpeboy
Re: How can i delete the NEW Topic image.
  • 2009/10/24 14:36

  • bumpeboy

  • Friend of XOOPS

  • Posts: 170

  • Since: 2008/10/4


Quote:

ghia wrote:
The image is not accessible. Try to explain what you want.


Hi ghia,
I have sorted out the image and its now accessible to show what i mean. Pls find some help.

5
bjuti
Re: How can i delete the NEW Topic image.
  • 2009/10/24 14:55

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


Click on it with your right mouse button, and choose 'view image'. See the path in url bar. Then, go via ftp on your site, and change the desired image. Then, if it's not shown, select again view image, and if it's old one, then refresh the page (F5).

Then you should see new image.

I hope that this helped. :)

6
iHackCode
Re: How can i delete the NEW Topic image.

disable javascript in your browser when you edit the forum permissions by group. .never mind that doesnt work with cbb

7
bumpeboy
Re: How can i delete the NEW Topic image.
  • 2009/10/24 15:40

  • bumpeboy

  • Friend of XOOPS

  • Posts: 170

  • Since: 2008/10/4


Quote:

Bandit-X wrote:
disable javascript in your browser when you edit the forum permissions by group. .never mind that doesnt work with cbb


Hi Bandit-X,
On the issue of image i think its somewhere on the CBB template or .css thing.

Is there another way i can let people (start a topic) on the sub forum but not on the forum?
More

8
iHackCode
Re: How can i delete the NEW Topic image.

i guess you can edit the newbb_viewforum.html template so it wont show the buttons on all parent forums that have subforums.

maybe..
<{if !isset($subforum}>
buttons
<!-- only show the buttons if it doesnt have subforum -->
<{/if}>

9
bumpeboy
Re: How can i delete the NEW Topic image.
  • 2009/10/24 18:32

  • bumpeboy

  • Friend of XOOPS

  • Posts: 170

  • Since: 2008/10/4


Quote:

Bandit-X wrote:
i guess you can edit the newbb_viewforum.html template so it wont show the buttons on all parent forums that have subforums.

maybe..
<{if !isset($subforum}>
buttons
<!-- only show the buttons if it doesnt have subforum -->
<{/if}>


On which specific lines do i have to edit?

I have tried my way but i got this.

Error: Smarty error: [in db:newbb_viewforum.html line 50]: syntax error: mismatched tag {/if}. (Smarty_Compiler.class.php, line 2324)

10
iHackCode
Re: How can i delete the NEW Topic image.

it seems i forgot to close the function. missing a ) .

<{if !isset($subforum)}>
buttons
<!-- only show the buttons if it doesnt have subforum -->
<{/if}>

the if statement should surround the location where the buttons are being displayed.
look for <{$forum_addpoll}><{$forum_post_or_register}> .

there could be other ways to disable the buttons, but that's one of the only easy ways i can think of. (maybe add it to the feature request and someone might pick it up)

Login

Who's Online

172 user(s) are online (126 user(s) are browsing Support Forums)


Members: 0


Guests: 172


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