131
shank
Re: changing forum link in main menu block
  • 2004/12/3 2:59

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


Go to admin->system->templates

select the system list for your default template set

scroll down to system_block_mainmenu.html and edit

should look something like:

Quote:
<table cellspacing="0">
<tr>
<td id="mainmenu">
<a class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}></a>
<!-- start module menu loop -->
<{foreach item=module from=$block.modules}>
<a class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><{$module.name}></a>
<{foreach item=sublink from=$module.sublinks}>
<a class="menuSub" href="<{$sublink.url}>"><{$sublink.name}></a>
<{/foreach}>
<{/foreach}>
<!-- end module menu loop -->
</td>
</tr>
</table>



Change it by adding bold type:

Quote:
<table cellspacing="0">
<tr>
<td id="mainmenu">
<a class="menuTop" href="<{$xoops_url}>/"><{$block.lang_home}></a>

<a class="menuTop" href="YOUR FORUM URL">YOUR FORUM TITLE</a>

<!-- start module menu loop -->
<{foreach item=module from=$block.modules}>
<a class="menuMain" href="<{$xoops_url}>/modules/<{$module.directory}>/"><{$module.name}></a>
<{foreach item=sublink from=$module.sublinks}>
<a class="menuSub" href="<{$sublink.url}>"><{$sublink.name}></a>
<{/foreach}>
<{/foreach}>
<!-- end module menu loop -->
</td>
</tr>
</table>


Them go to admin->system->modules

and set the weight of Newbb to 0.


See if that works.



132
shank
Re:Inbox structure
  • 2004/11/30 23:38

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


So check this out.

hervet's suggestion work, but it wouldn't mark them as read after I read them.

And

migoe's file swapped the order of the titles in the inbox, but not the posts them selves.

Help?



133
shank
Re: Soapbox 1.5 (Having problems! )
  • 2004/9/19 15:25

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


Well I can't help you with your troubles, but just thought I would post mine here too.

Running XOOPS 2.0.7.3 and soapbox 1.5 RC3

Every thing works fine for admins, but I want users to be able to post articles and the submit article sublink in the main menu doesn't come up for users. If they type in the url manually the option to choose which catagory to post the article in is not there, but they can post that way but an admin has to manually put the article in a catagory.

And just a suggestion but I would like it if the index page's introductory text accepted html code.

Thanks,
Steve



134
shank
Re: Sub link text
  • 2004/9/15 1:46

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


Awesome!!

Thanks man!



135
shank
Sub link text
  • 2004/9/14 23:12

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


I was wondering how to change this.

Like for news in the main menu, when you click on it you get a sublink that says Submit news, and I want to make it say something else.

Help?!?

Thanks.



136
shank
Re: removing stuff
  • 2004/9/13 21:47

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


Go to admin menu, System admin, templates.
Once there you should have a "default" template. if this is the only template them you will need to clone it so you can edit it. If you are already using a different template under templates there will be one that says something like "System [List(26)]"

Click on list then scroll down to "system_block_mainmenu.html" and click edit.

There should be a line in this file toward the bottom the says: <a class="SOMETHING" href="http://trevoc.linuxshit.org/xoportal/modules/xoopsfaq/index.php?cat_id=13">Privacy Policy</a>

cut it out and try that. If it doesn't work paste it back.






137
shank
Re: upgrade question
  • 2004/9/13 21:06

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


Thanks. I got it.



138
shank
upgrade question
  • 2004/9/13 16:29

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


I am going to upgrade from 2.0.6 to 2.0.7 and I have the file downloaded and unziped on my harddrive.

the only instructions I have found on how to do this is as follows:

!!EXTRA UPGRADE INSTRUCTIONS!!
Please apply the patch as ususal, overwriting the original files with the ones from the patch. Please use your FTP application to make the mainfile.php file in your site root folder temporarily writable (chmod 777). Point your broweser to www.yoursite.com/upgrade/xoops_206_to_207.php, and follow the instructions. When the upgrade of mainfile.php is done, please chmod mainfile.php back to 644 or 444, and remove the upgrade/xoops_206_to_207.php file from your server.


So does that mean I upload the files in just the html folder, from the zipped upgrade file, overwriting the existing files. chmod mainfile.php to 777. go to mysitename.com/upgrade/xoops_206_to_207.php and it will walk me through the upgrade process. and when I am done chmod mainfile.php back to 444, and delete the upgrade folder?

And this should upgrade my site and everythin still work like it suppossed to and look the same?

Thanks



139
shank
Re: Need 2.0.7 Upgrade Help
  • 2004/9/13 1:03

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


When it says go to yoursite.com it mean the site you are installing on, not www.yoursite.com, but your site.



140
shank
coding question
  • 2004/9/1 23:06

  • shank

  • Not too shy to talk

  • Posts: 144

  • Since: 2004/8/17


First let me say that I thought I read something of this sort some where, but searched and couldn't find it again.

Secondly, My website is www.le-mank.com

Where the login is, is conditional between the login, and "Hello (username)!" That part is fine.
Where it say join is conditional between join, and blank.

What I was wanting to do is after you login have private message notifacation here.

The original code in theme.html is:

<td align="left" class="headercenter"> <?php if ($this->_tpl_vars['xoops_isuser']): ?> <?php else: ?>
<form style="margin-top: 2px; margin-bottom: 0px" action="<?php echo $this->_tpl_vars['xoops_url']; ?>
/register.php" method="post">
<input name="submit" type="submit" value=" Join " />
</form>
<?php endif; ?> </td>

The code from the userblock templete file is:

<{if $block.new_messages > 0}>
<a class="highlight" href="<{$xoops_url}>/viewpmsg.php"><{$block.lang_inbox}> (<span style="color:#ff0000; font-weight: bold;"><{$block.new_messages}></span>)</a>
<{else}>
<a href="<{$xoops_url}>/viewpmsg.php"><{$block.lang_inbox}></a>
<{/if}>


Could I just insert this code into the theme.html code between the if and the else for the join.

Help me please.
Thanks,
Steve




TopTop
« 1 ... 11 12 13 (14) 15 »



Login

Who's Online

206 user(s) are online (152 user(s) are browsing Support Forums)


Members: 0


Guests: 206


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