91
rajaito
Re: extend bio (extra info) length
  • 2005/2/17 3:30

  • rajaito

  • Not too shy to talk

  • Posts: 109

  • Since: 2005/1/3 1


Thank You Hobbles. I thought no one would ever reply. I guess I need to practice patience more. I realize that coders get burnt out on answering stupid questions. But I certainly appreciate it. I had experimented with that line of code before but didn't get it to work until it was combined with editing the database as well.

Anyway... This should be something that is adjustable for admins of XOOPS sites.

Now to figure out how to add more to the user's profile pages.

Like a shoutbox and personal calendar.

http://www.ElectroniCulture.com/index.php



92
rajaito
Re: avatar image size???
  • 2005/2/6 21:30

  • rajaito

  • Not too shy to talk

  • Posts: 109

  • Since: 2005/1/3 1


This was horribly easy to do once I realised I can add a set width to the image tags. I found out that I have to do it all over the entire site though. I have hacked the crap out of xoops. Forget about upgrading.

if you want to see:
ElectroniCulture.net



93
rajaito
Re: extend bio (extra info) length
  • 2005/2/6 21:26

  • rajaito

  • Not too shy to talk

  • Posts: 109

  • Since: 2005/1/3 1


hellooooo? Please help!!!!



94
rajaito
Re: extend bio (extra info) length
  • 2005/2/3 6:26

  • rajaito

  • Not too shy to talk

  • Posts: 109

  • Since: 2005/1/3 1


wow... the support on this site is great.


/sarcasm





95
rajaito
Re: extend bio (extra info) length
  • 2005/2/2 17:46

  • rajaito

  • Not too shy to talk

  • Posts: 109

  • Since: 2005/1/3 1


hmm....

I figured out how to go into php admin and change the bio field to longtext. That seemed to open up a whole lot. Except, no matter how long the bio entry in it wants to truncate the last word. Can anyone help me with this?



96
rajaito
extend bio (extra info) length
  • 2005/2/2 3:46

  • rajaito

  • Not too shy to talk

  • Posts: 109

  • Since: 2005/1/3 1


I cannot figure out how to make the extra info field longer. It is only like 2 sentances long. That is rediculous!!! Any ideas???

thank you



97
rajaito
Re: xcgal posts error
  • 2005/1/5 22:42

  • rajaito

  • Not too shy to talk

  • Posts: 109

  • Since: 2005/1/3 1


we have to get this fixed... I emailed the gallery mod developer, but there was no reply. This is the kind of stuff that makes using XOOPS a pain in the arss.



98
rajaito
Re: newbb - Setting default view to Flat
  • 2005/1/4 0:02

  • rajaito

  • Not too shy to talk

  • Posts: 109

  • Since: 2005/1/3 1


COOL IT IS STILL WORKING FOR ME!




99
rajaito
Re: newbb - Setting default view to Flat
  • 2005/1/4 0:00

  • rajaito

  • Not too shy to talk

  • Posts: 109

  • Since: 2005/1/3 1


Oh, by the way the code above that I suggested that you remove, also included the user option to choose newest or oldest comment first. Personally I want everyone to see the same thing on my site, so I removed it.

Just take out what you want.



100
rajaito
Re: newbb - Setting default view to Flat
  • 2005/1/3 23:58

  • rajaito

  • Not too shy to talk

  • Posts: 109

  • Since: 2005/1/3 1


Well... I hate that threaded vs flat option all together so I did something a little differently. Hopefully this helps some of you.

My site is new so it was easier for me then it will be for all you webmasters that have a ton of users already. First I went into each users account and chose flat as their prefered option. Then I went into the admin options and followed the directions above:

Go to System Admin\Preferences\General Settings.

About 2/3 of the way down it says 'Default Comment Display Mode'. Set that to Flat then all your registered users should all get the same flat view


Then so that none of my users have the default option to choose from, I opened edituser.php and removed the following:

$umode_select = new XoopsFormSelect(_US_CDISPLAYMODE, 'umode', $xoopsUser->getVar('umode'));
$umode_select->addOptionArray(array('nest'=>_NESTED, 'flat'=>_FLAT, 'thread'=>_THREADED));
$uorder_select = new XoopsFormSelect(_US_CSORTORDER, 'uorder', $xoopsUser->getVar('uorder'));
$uorder_select->addOptionArray(array(XOOPS_COMMENT_OLD1ST => _OLDESTFIRST, XOOPS_COMMENT_NEW1ST => _NEWESTFIRST));


save edituser.php upload to zoops root folder.

BUT BE VERY CAREFUL DOING THIS HACK!! If you do not make sure all your users have flat chosen (double/triple check!!) then you will NEVER be able to fix it, without putting the code back in. I personally am going to save it just in case I am wrong. But all seems to be working so far. The only other thing I want to point out is that I am choosing to leave the flat/threaded link option listed at the bottom of each thread. Just in case my users like it better that way for some odd reason. But I bet if you want to get rid of that, it wouldn't be to hard to figure out.

GOOD LUCK!!!




TopTop
« 1 ... 7 8 9 (10) 11 »



Login

Who's Online

168 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 168


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