31
regen_r8
Re: is there a way to link a style sheet to a user group, and another style sheet to another group?
  • 2004/3/3 15:30

  • regen_r8

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/5/23


Bennie,

The XOOPS core does not directly support the notion of different style-sheets for different groups of users.

You could probably build this into a theme that linked in different styles depending on whether the user was registered or not.

What you said that indicated to me that this was not what you wanted is that you want to change the layout. The defined mechanism in XOOPS for dynamically changing the layout based on the user is group permissions.

Xoops allows you to assign permissions to the anonymous group with regard to modules and blocks that differ from the registered group so that the content and layout appear to change depending on which group you are in.

Example, I have built sites that reserve the right block for administrator and moderator information, so anonymous and registered users have very simple, clean looking pages. I also remove access to blocks that are more member oriented (top posters, new members, etc.) from the anonymous group.

Because XOOPS layout is dynamic, based on which blocks are assigned to which screen region (left, leftcenter, right center, center, right) then you can control where blocks appear and which ones appear for which user groups.

If you wanted content to appear in different positions based on who the user was, then you would require a hack, like cloning blocks and having one clone assigned to one user group in one region, and the other clone to a different user group in a different region.

Hope this explanation helps...




32
regen_r8
Re: Tileing images in your header using CSS
  • 2004/3/3 14:12

  • regen_r8

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/5/23


In CSS you can make a background image repeat along either the x or the y axis.

selector {
background : url(image.jpg) repeat-x top;
}

this instruction directs the listed image (image.jpg) to be used as a background for the selector (tag, class, id, whatever...) abd repeat along the x axis anchored at the top.

Hope that this is helpful.

If you want to learn more about CSS, and styles, check out this site at the W3C - http://www.w3.org/Style/CSS/learning there are a "boatload" of resources there to help. I also keep a copy of the CSS guide from http://htmlhelp.com/ locally as a "CHM" so that I can refer to it as needed.



33
regen_r8
Re: HTML without CSS interfering
  • 2004/3/1 18:59

  • regen_r8

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/5/23


Vargr,

If I understand, your problem is more with the way that MSExcel drops html with evil embedded style information, than the way that XOOPS handles it. I used to have the same evil problem with MSWord. I solved most of my problem by using OpenOffice.org (staroffice) which appears to drop much cleaner html than any of the MS products. Anytime I need to convert a MS word or powerpoint document to html, I just bring it up in OO.O and save as html. I don't know how that would work with a spreadsheet, but if the other 2 are indicative, it saved me a bunch of effort.

Hope this helps in the short term...




34
regen_r8
Re: downgrade
  • 2004/2/25 21:41

  • regen_r8

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/5/23


I seem to have this problem on new sites that I put up. One of the first things that I do when I put up a new site is to change the session and user cookie settings in the general preferences.

Change these settings:
Quote:

Name for user cookies.

This cookie contains only a user name and is saved in a user pc for a year (if the user wishes). If a user have this cookie, username will be automatically inserted in the login box.

Use custom session
Select yes to customise session related values. Yes No

Session name

The name of session (Valid only when 'use custom session' is enabled)

Session expiration
Maximum duration of session idle time in minutes (Valid only when 'use custom session' is enabled. Works only when you are using PHP4.2.0 or later.)



I tend to host several XOOPS sites on the same domain (test and prod), and they have been known to interfere with the cookie names unless I change. Also, I use a custom session with a longer timeout (usually 2 hours) because my traffic is low, and it's less annoying to me when I get interrupted for 15 minutes and need to log in again.

Once I have adjusted these settings the symptoms you describe are eliminated.




35
regen_r8
Re: SITEURL : does it have to open a new window???
  • 2004/2/25 21:20

  • regen_r8

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/5/23


You could simply embed the correct html anchor tag in your post, with the target attribute =_SELF.

-- The default bbcode rendering behaviour is to render all links inserted in a post as [bbcode] with a target=_BLANK



36
regen_r8
Re: [Help!] Setting up a Blog Site (2 questions)
  • 2004/2/24 20:14

  • regen_r8

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/5/23


The "cell like things" are called "blocks" in XOOPS parlance.

Blocks are content cells, that either export content links from content modules, or can be "hand-crafted" out of bb-code, html, or php. using the admin interface.

Typically all of the blocks in a region (or column) share common visual stylings that are assigned by the theme.

After you have installed the weBlog module, check out the blocks admin interface. There you will see the blocks that are provided by the system and also the modules that you have activated.

Hope this helps...



37
regen_r8
Re: Fixed width vs. Dynamic: Your pref.?
  • 2004/2/24 20:04

  • regen_r8

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/5/23


I prefer the dynamic width, but I am less picky about presentation than many. Even within my dynamic width themes, I try to fix the navigational elements as much as possible, because they can really look bad (lame at best, and abosolutely unintelligible at worst).

If I were building something more like a magazine site, I would probably opt for the fixed width at 800px, in order keep the presentation orderly and professional.





38
regen_r8
Re: Search Hack
  • 2004/2/22 14:07

  • regen_r8

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/5/23


Don't have time to help right now, but this is an interesting suggestion:

Perhaps a module that allows the linking of external content by calling external searches. Could have a external module or script wrapped in an object with a couple methods: search, display_links, display_blocks

then the admin would be able to "point" the module to the external script to call to do the work...

a generalized mod could be very useful to those of us who don't only use Xoops.

Thanks for the idea. Sorry I wasn't more help.




39
regen_r8
Re: NewBB Forum Topics Can't Be Seen
  • 2004/2/21 19:59

  • regen_r8

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/5/23


happy to help... Best of luck with your site...



40
regen_r8
Re: NewBB Forum Topics Can't Be Seen
  • 2004/2/21 19:05

  • regen_r8

  • Not too shy to talk

  • Posts: 101

  • Since: 2002/5/23


-- sound like maybe you need to re-upload the module. The ForumPosts class is defined in ../newbb/class/class.forumposts.php

Perhaps that file is damaged. on line 112, in post.php this is included.

Try that next.






TopTop
« 1 2 3 (4) 5 6 7 8 »



Login

Who's Online

758 user(s) are online (78 user(s) are browsing Support Forums)


Members: 0


Guests: 758


more...

Donat-O-Meter

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

Latest GitHub Commits