111
patagon
CBB questions
  • 2005/9/17 6:15

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Hi,

I am trying to decide which forum module to use, so I am now between CBB and Newbbex. So far I dont need the advanced features of CBB (but a simple forum, so newbbex could do) but I like to know they are there if I need them in the future. I also like the fact that it seems it will be the official forum, or at least it looks like many people use it, so it seems to be actively developed. my questions would be:

+ is there a performance penalty for the advanced versions of CBB (even if you dont use them, like karma for example) vs newbbex? is it really more likely to continue developing?

+ is there a block in CBB for "most active topics"? I see blocks for new, w/o replies, but no "active topics"...

+ is there a way to modify the select so that the username clicks to the profile, and the other links show below (without select or javascript, just text). There is a button in admin to toggle it on/off but all it does is display the select or just username, I want to display the content of the select outside a select...

I think thats all
thanks



112
patagon
any solution to display name / login name?
  • 2005/9/8 19:31

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Hi,

I understand the security considerations regarding username and login name, but I would like XOOPS to behave as it did before 2.2, that is, you just have one name (login name, equal to display name). is there a way to do this? via a hack or whatever?

thanks



113
patagon
How to link to image on custom block
  • 2005/7/22 5:59

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Hi,

I asked this on some other places but maybe it wasnt the right place, so I'm trying again here (or maybe its too complicated, or no one does it, which I doubt).

I want to create a custom block and link to an image on it. Previously (prior to 2.2 I belive) you could use xoops_url but that doesnt work now. So how do you do it? do you include the full path to the image on the server (that doesnt seem to work for me, besides the fact that it would force me to change the blocks when moving from local/server).

Thanks for any info on this.



114
patagon
Re: XOOPS 2.2, smarty changes?
  • 2005/7/16 18:38

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Thanks Mith. I guess this is a very silly question, but how do you replace in a block xoops_imageurl? i tried xoops_url and then add theme/mytheme/images/image.gif but it doesnt work...

UPDATE: fixed it, thanks



115
patagon
Re: XOOPS 2.2, smarty changes?
  • 2005/7/16 3:00

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


ok, the first one doenst have anything to do with xoops. I use <{if $smarty.server.PHP_SELF=='/index.php'}> to check within theme.html if I'm on the homepage and xsas doenst add the index.php part, so thats why it doesnt show (if anyone knows how to modify this so that it works locally as well as in the server, that would be great

The second part I dont understand it. In theme.html I use <{$xoops_imageurl}> and it works, but if called in a block it doesnt (and it used to work in previous versions).



116
patagon
XOOPS 2.2, smarty changes?
  • 2005/7/16 1:00

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Hi,

I installed XOOPS 2.2 and everything seems to work ok, except that in my theme.html I use this:

<{if !$xoops_isuser}>

to show (or not) some content. This doesnt seem to work anymore, it doesnt display even if I am a user.

I also use (in a block) this:

<img src="<{$xoops_imageurl}>...

this doesnt seem to work either. my guess is that there were some changes in these variables (my guess could be wrong). Anyone has any idea why is this?

Thanks



117
patagon
Re: send article to a friend, internal mailer not mailto
  • 2005/7/11 4:37

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


one last try on this old question...



118
patagon
Re: happy linux weblinks module help - template info
  • 2005/7/11 4:08

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Does anyone know if this module can be cloned? I see on xoops_version.php a line that says:

// enable to install this module two or more.
// --- change dir name ---
$MODULE_DIRNAME = 'weblinks';

Am I right in assuming that changing this value to 'somename' will allow me to install this module more than once? if so this is the only file I need to change? (I looked for this comment and see it on several files, but I'm not sure what to do about it). below is an example of this same comment on another file (singleclick.php, it appears like this on many more files):

// enable to install this module two or more.
$xoopsOption['template_main'] = $MODULE_DIRNAME."_singlelink.html";

The way I understand it its telling which template to use, I would like to have one set of templates for my (original) 'weblinks' module and another set for the 'somename' clone...

Thanks



119
patagon
Re: happy linux weblinks module help - template info
  • 2005/7/10 17:30

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


dickinsd,

I think I found a solution to this. I use another template. I dont have it hand now but its something like this: In the singleclick template I use this:

<{include file="db:weblinks_link.html" link=$links[i]}>

(as it was, no change)

but in the category view I modified this line to call another template instead of weblinks_link. in my case this is one of the rss templates (that I dont use/dont know what they do, I guess any other template can do). then in that template I copy the weblinks template content (in template editor) but take out the part I dont want to display. So far it works, but I'm sure there are better ways to do this....



120
patagon
happy linux weblinks module help - template info
  • 2005/7/1 21:29

  • patagon

  • Quite a regular

  • Posts: 235

  • Since: 2002/1/8 0


Hi,

I am trying to customize the weblinks module (by happy linux) and got stuck here:

There is a template that controls how a link looks (weblinks_link.html), I want to modify this template so that if its on the singleclick page of the module it displays all the content, but if it is on the category view it displays only the name of the link. The problem is that on the templates on both the category and singleclick template the link is called as:

<{include file="db:weblinks_link.html" link=$links[i]}>

so this always calls all the info. I can modify the weblinks_link template but then I get only the name of the link when viewing categories (as expected) but also on the singleclick page (where I want the full info). Is there any way of making an if on the weblinks_link.html template so that it knows if this is a category view or a singleclick page? if the later display all the info?

This may be something simple that I'm overlooking, I am not a programmer. Thanks for reading and any hint on how to do this




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



Login

Who's Online

242 user(s) are online (178 user(s) are browsing Support Forums)


Members: 0


Guests: 242


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