171
tcnet
Re: How to highlight terms&definitions in content ?
  • 2006/8/12 23:56

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


The Wordbook module will display glossary links in it's descriptions(articles). It does so by comparing every word in the glossary to every term in the description. This causes a heavy server load with a large glossary of terms. Wordbook will not create links in content from other modules. The module seems to be inactive as it has not been updated in over a year.



172
tcnet
Re: Changing the site LOGO by page changes...
  • 2006/8/10 13:24

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


There are a couple of ways to do this.

Method A: Code the logo into all module templates.

Some modules (News,Sitemap,etc.) have a logo coded into their templates. You can switch it on and off in the module's preferences. Just upload your logo to the module's image directory overwriting the author's logo.

Unfortunately, many modules do not have a logo option so you will have to code the image into those templates.

I abandoned this method because it was difficult to update logos to the many image folders.

Method B: Code the module logos into your themes.

Newer XOOPS versions use a Smarty variable ( $xoops_dirname ) to hold the module's directory name. See this FAQ by Chapi, How can I display different images or include different stylesheets according to the currently viewed module? for more information.

Here's what works for me:
1) Create a directory (ex: images/modulelogos) to hold all module logos.

2) Create and upload a logo for each module. Use the same image file type for all logos. Name the logo using the module's directory name (Example: mylinks.gif). Create and upload a generic logo named system.gif that will display on all system pages.

3) Insert some image code using the dirname Smarty variable into theme.html.

<img src="<{$xoops_url}>/images/modulelogos/<{$xoops_dirname}>.gif" alt="<{$xoops_pagetitle}>"/>



I settled on this method because all of the module logos could be stored in one directory, there was no need to edit individual module templates and it could easily be added to new themes. You can see this in use on www.technicalcrew.com.

edit: Whoops, looks like I am a little late on the draw on this answer. I have basically repeated Stefan's excellent suggestion.



173
tcnet
Re: Block administration for different user types and more
  • 2006/7/27 0:20

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


I think alot of your questions will be answered by a visit to Control Panel/System Admin/ Groups. Select the group you want to Modify and assign module access and block access for that group. System Admin Rights and Module Admin Rights allow the user to access the Control Panel Admin are normally assigned to webmasters only.

Quote:
1. I can see that I can choose the blocks that are visible for different groups (webmasters, regsitered and anonymous users). When I choose Anonymous Users the list changes- good. But, if I choose to make a block visible for an Anonymous user, say on the Right hand side, the block becomes visible for all Groups on the right hand side. I cannot seem to force a different positio or list of modules for different groups. Any ideas?



By default any block assigned to anonymous is also assigned to registered users including webmaster. You will have visit Control Panel/System Admin/Groupsto modify the registered and webmaster groups. Open their Modify Group Forms, look for Blocks Access Rights and uncheck the blocks those groups should not see.

Quote:
2. The main menu block is selected for all users. However, only registered users seem to see a list of all of my modules.<edit> ... I cannot seem to find what admin screen controls that functionality. I would liek anonymous users to see headlines and MyAlbum.

3. I have the Headlines module installed.
I woudl like all groups to see that module, webmasters, registered users and Anonymous Users.


Visit Control Panel/System Admin/Groups ... Edit Groups... Modify Group Form and assign Module Access Rights to the anonymous group.

Quote:
4. Last question. :)
Using 'HEadlines' as an example.
In Block Administration, I can choose to display headlines on teh Right hand side. If I edit the Headlines block itself, teh position is given as left hand side.
(a) Which takes precedence?
(b) Woudl I need to create/copy teh Headlines module if I wish to show headlines on the top Page on the Left Hend Side
but on another page move it to the right hand side?


4a. Not sure what happened here. You may have missed a submit button on Block Admin page or needed a page refresh. Changing a block's location in either "Blocks Admin" or "Edit a Block" page should change both pages immediately.

4b. Yes

I found Xoops for Dummies very helpful when I first installed xoops.



174
tcnet
Re: Putting a regular block on font page
  • 2006/7/26 23:31

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


In 2.0.14 the custom block can be assigned to the Anonymous group in the control panel/system admin/groups page. Look for Edit Group and select Modify Anonymous Users. The Modify Group form will open. Look under Block Access Rights for Your Custom Block Title and check the box next to it.

Webmasters and registered users automatically have access to custom blocks.



175
tcnet
Re: Migrating existing Mediawiki 1.67 to MW module 1.67
  • 2006/7/26 20:28

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


I would use phpmyadmin to compare the sql tables. If the MW module uses a table structure similar the MediaWiki script tables, it may be as simple as copying and renaming some tables to your XOOPS database.

Definately back up both databases before experimenting!



176
tcnet
Re: quick rss / backend.php question
  • 2006/7/26 12:16

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Hervet's Marquee Module and a recent News block might work for you.



177
tcnet
Re: Putting a regular block on font page
  • 2006/7/24 3:31

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Hi,
In 2.0.14 goto System admin/blocks.
Scroll to the the bottom of the page and look for "Add a new block". You can write custom blocks in XOOPS Code, html or php. You can assign which pages to display the custom block and which groups have permission to view it.



178
tcnet
Re: Anyone have the REALESTATE module?
  • 2006/7/24 3:10

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


Check your mailbox for realty.tgz



179
tcnet
Re: Best bot set up?
  • 2006/7/14 3:03

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


You will want to use Index,Follow to have the bot index the text and follow the links on each page.

No Index will prevent the site from being listed on the search engine's index. Here a good link about the robots meta tag: http://www.searchtools.com/robots/robots-meta.html

You will also want to check that you have a robot.txt file in your home directory. The robot.txt that is installed with XOOPS works for most situations. Here's a good link for robot.txt info: http://www.searchtools.com/robots/robots-txt.html



180
tcnet
Re: Image and text padding
  • 2006/7/2 19:25

  • tcnet

  • Friend of XOOPS

  • Posts: 297

  • Since: 2006/5/12


You could write and save the custom block as an html file.

Something like this should work:
<code>
<img src="yourfile.jpg" width="widthpx" height="heightpx" alt="whatever" align="left" hspace="5px" vspace="5px">

or

<img src="yourfile.gif" width="widthpx" height="heightpx" alt="whatever" align="left" style="margin: 5px 5px 5px 5px;">
</code>




TopTop
« 1 ... 15 16 17 (18) 19 20 21 »



Login

Who's Online

253 user(s) are online (169 user(s) are browsing Support Forums)


Members: 0


Guests: 253


more...

Donat-O-Meter

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

Latest GitHub Commits