Search found 96 matches

by raipe
Thu Feb 21, 2008 11:07 pm
Forum: [2.0.x] MOD Database Releases
Topic: [2.0.19] Youtube Video BBCode
Replies: 853
Views: 394969

Re: [2.0.19] Youtube Video BBCode

raipe wrote:Is it possible to have userfriendly input, like this?

Still missing this feature.. :?
by raipe
Thu Feb 21, 2008 11:04 pm
Forum: [2.0.x] MOD Database Releases
Topic: [2.0.19] Youtube Video BBCode
Replies: 853
Views: 394969

Re: [2.0.19] Youtube Video BBCode

^

Open templates/subSilver/bbcode.tpl

FIND:

Code: Select all

<a href="http://youtube.com/watch?v={YOUTUBEID}" target="_blank">{YOUTUBELINK}</a><br />
And delete that line...
by raipe
Mon Feb 04, 2008 9:09 am
Forum: [2.0.x] MOD Database Releases
Topic: Number of unread posts
Replies: 4
Views: 1003

Re: Number of unread posts

Just installed, seems to work as it should...

Great mod!
by raipe
Sun Feb 03, 2008 8:32 am
Forum: 2.0.x Support Forum
Topic: Creating a usergroup switch
Replies: 63
Views: 3020

Re: Creating a usergroup switch

OH YEAH!!!!!!!!!!!!!! 8-) You are the MAN! Now it works just as it should! :) Million thanks for wasting your time with this, im so happy now! :mrgreen: I have one more question, if i use this switch in that page where link goes, it does not work? (I can make filename like gfuisdhghsdg.php, that wo...
by raipe
Sat Feb 02, 2008 10:44 pm
Forum: 2.0.x Support Forum
Topic: Creating a usergroup switch
Replies: 63
Views: 3020

Re: Creating a usergroup switch

Oh snap. My head is going to explode. :|

I tried both those things you guys said, and they dont work...

[edit] this gets intresting, i can see both links, but my test account (member of both groups, cant see either, and my friend, member of first group see both) :roll:
by raipe
Sat Feb 02, 2008 10:20 pm
Forum: 2.0.x Support Forum
Topic: Creating a usergroup switch
Replies: 63
Views: 3020

Re: Creating a usergroup switch

that td was my bad.

I got one idea, could the problem be this:
I want it to be like this:

if user is group a:
HPT07

if user is group b: (HE IS ALSO ON GROUP A)
HPT07 HPT08

I didnt remember to say that thing, that other group sees both, and other only one?

:shock:
by raipe
Sat Feb 02, 2008 9:53 pm
Forum: 2.0.x Support Forum
Topic: Creating a usergroup switch
Replies: 63
Views: 3020

Re: Creating a usergroup switch

//Begin usergroup switches MOD // set an array for group a $display_html_group_a = array(161); //set an array for group b $display_html_group_b = array(164); $display_html_allowed_a = false; $display_html_allowed_b = false; $sql = "SELECT group_id FROM " . USER_GROUP_TABLE . " WHERE user_id = " . $...
by raipe
Sat Feb 02, 2008 9:47 pm
Forum: 2.0.x Support Forum
Topic: Creating a usergroup switch
Replies: 63
Views: 3020

Re: Creating a usergroup switch

Now switch a is working,but b doesnt display the it should, even if i am member of correct group.


Once again, thank you for helping me with this!

[EDIT] stange, if i use same group id for both a and b, then it shows what it should....
by raipe
Sat Feb 02, 2008 8:51 pm
Forum: 2.0.x Support Forum
Topic: Creating a usergroup switch
Replies: 63
Views: 3020

Re: Creating a usergroup switch

I tried making one test page, with that original mod i posted here, and the page is still showing to everyone... :?
by raipe
Sat Feb 02, 2008 8:21 pm
Forum: 2.0.x Support Forum
Topic: Creating a usergroup switch
Replies: 63
Views: 3020

Re: Creating a usergroup switch

^thats kinda hard, since im trying to add links to my header, and 1 needs to be shown only to group1, and second to group2
by raipe
Sat Feb 02, 2008 6:51 pm
Forum: 2.0.x Support Forum
Topic: Creating a usergroup switch
Replies: 63
Views: 3020

Re: Creating a usergroup switch

When i do that it says
Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/hcuocom/public_html/forums/includes/page_header.php on line 503

and line 503 is if (in_array($dhag, $display_html_group))

And also the switch does not work.
by raipe
Sat Feb 02, 2008 11:51 am
Forum: 2.0.x Support Forum
Topic: Creating a usergroup switch
Replies: 63
Views: 3020

Re: Creating a usergroup switch

Hmm, could you be more specific? How should i add that code to my overall_header.tpl?

I have to nest those switches, first one makes box and one link, other makes another link in that box.
by raipe
Sat Feb 02, 2008 1:02 am
Forum: 2.0.x Support Forum
Topic: Creating a usergroup switch
Replies: 63
Views: 3020

Re: Creating a usergroup switch

I just wondered, i only need 5 persons to see that one link to one page, is there any other way to do this?
(once it works, it doesnt need to be changed ever)
by raipe
Sat Feb 02, 2008 12:57 am
Forum: 2.0.x Support Forum
Topic: Creating a usergroup switch
Replies: 63
Views: 3020

Re: Creating a usergroup switch

At first, thank you for your time to help me. ^I tried that, but switch b did not work. Any ideas? And i have to use switches like this: (is that possible?) <!-- BEGIN switch_user_display_html_a --> stuff here <!-- BEGIN switch_user_display_html_b --> something <!-- END switch_user_display_html_b --...
by raipe
Tue Jan 29, 2008 11:12 pm
Forum: 2.0.x Support Forum
Topic: Creating a usergroup switch
Replies: 63
Views: 3020

Re: Creating a usergroup switch

:evil:

Go to advanced search