Page Index Toggle Pages: 1 [2] 3  Send TopicPrint
Very Hot Topic (More than 25 Replies) Custom Page Mod 0.3 (Read 23234 times)
Derek Bullock
Full Member
***
Offline


I love Camp Oven Cooking

Posts: 184
Location: Brisbane
Joined: Nov 9th, 2007
Gender: Male
Re: Custom Page Mod 0.3
Reply #15 - Mar 15th, 2008 at 2:59am
Print Post  
I had this problem as well on my 2.2.1 board.  To overcome it I didn't tick the box to allow Show Link In Custom Page Menu and then added the menu link manually.
  

Back to top
WWW  
IP Logged
 
TrackerADC
New Member
*
Offline



Posts: 19
Location: Bullhead City
Joined: Mar 20th, 2008
Gender: Male
Re: Custom Page Mod 0.3
Reply #16 - Mar 20th, 2008 at 6:25pm
Print Post  
when i go to install it. it tells me....
-------------------------------
Step 1 ... ok

Step 2 ... ok

Step 3 ... ok

Step 4 ... ok

Step 5 ... failed - ERR(2): Could not find file to edit (C:\Server\cgi-bin\yabb2\yabbfiles\Templates\Forum\Default.css)

Step 6 ... failed - ERR(2): Could not find file to edit (C:\Server\cgi-bin\yabb2\yabbfiles\Templates\Forum\Default.css)

Step 7 ... failed - ERR(1): Search string could not be found
------------------------------------------------
shouldnt it be looking for   public_html insted of cgi-bin?
(public_html\yabb2\yabbfiles\Templates\Forums\Default.css)
  
Back to top
 
IP Logged
 
ChiMoHe
Full Member
***
Offline


I love YaBB 2.2

Posts: 197
Joined: Apr 4th, 2007
Re: Custom Page Mod 0.3
Reply #17 - Mar 28th, 2008 at 3:26am
Print Post  
maybe ... but just move yabbfiles folder into yabb2 and will apply mod
  

soundcloud.com/chimohe
Back to top
IP Logged
 
nirok
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 23
Joined: Aug 15th, 2007
Re: Custom Page Mod 0.3
Reply #18 - Apr 3rd, 2008 at 9:10pm
Print Post  
Hi Derek i have tried installing this into my new 2.2.1 that you installed but you mentioned installing this manually .... i get an error similar to the one above when i do it through boardmod, i'm guessing this is because the Yabbfiles are not located in the CGI bin? would you be able to let me know how to install this manually? i havn't done this before.... thanks
Korin
  
Back to top
 
IP Logged
 
Derek Bullock
Full Member
***
Offline


I love Camp Oven Cooking

Posts: 184
Location: Brisbane
Joined: Nov 9th, 2007
Gender: Male
Re: Custom Page Mod 0.3
Reply #19 - Apr 4th, 2008 at 11:15am
Print Post  
You need to open the mod file in notepad and just follow the instructions to modify the files step by step,
  

Back to top
WWW  
IP Logged
 
nirok
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 23
Joined: Aug 15th, 2007
Re: Custom Page Mod 0.3
Reply #20 - Apr 5th, 2008 at 11:51pm
Print Post  
thanks Derek i'll give it a shot  Smiley
  
Back to top
 
IP Logged
 
Captain John
Senior Member
****
Offline


Pass to Port !

Posts: 264
Location: Reno Beach
Joined: Jan 18th, 2007
Gender: Male
Re: Custom Page Mod 0.3
Reply #21 - Apr 8th, 2008 at 5:33am
Print Post  
Installed No Problem ... Works Great!  Y2.2.1 "M" (w/CVS and Highly MODded)
  

Love to live and love on the water
Back to top
 
IP Logged
 
TrackerADC
New Member
*
Offline



Posts: 19
Location: Bullhead City
Joined: Mar 20th, 2008
Gender: Male
Re: Custom Page Mod 0.3
Reply #22 - Apr 10th, 2008 at 5:13pm
Print Post  
Ok,

I tried to manual install since I could not get it to auto install.
On step 5 and 6 I did not have

background-position: left;

So I added it in right above

background-image: url(./default/tableft211.png);
and
background-image: url(./default/tabright211.png);

then proceeded to follow the mod.
I then came to step 7 and can not find

     $yytabmenu .= qq~$tabsep~;

any where. Can you please tell me where it should be so I can add it in?

I added everything after  $yymcmenu .= qq~$tabsep~;
and added  $yytabmenu .= qq~$tabsep~; after that. and everything works perfect.

Thank you so much for this mod!
« Last Edit: Apr 14th, 2008 at 5:18am by TrackerADC »  
Back to top
 
IP Logged
 
nirok
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 23
Joined: Aug 15th, 2007
Re: Custom Page Mod 0.3
Reply #23 - Apr 10th, 2008 at 11:55pm
Print Post  
This was kinda mentioned in the posts on the first page.... paste the code before $yymcmenu .= qq~$tabsep~; at teh bottom
« Last Edit: Apr 11th, 2008 at 1:36am by nirok »  
Back to top
 
IP Logged
 
Derek Bullock
Full Member
***
Offline


I love Camp Oven Cooking

Posts: 184
Location: Brisbane
Joined: Nov 9th, 2007
Gender: Male
Re: Custom Page Mod 0.3
Reply #24 - Jun 8th, 2008 at 10:00am
Print Post  
Works with YaBB 2.2.2 but manual installation required.
  

Back to top
WWW  
IP Logged
 
Fps_Brian
Full Member
***
Offline



Posts: 130
Location: Beach Haven
Joined: Aug 14th, 2008
Gender: Male
Re: Custom Page Mod 0.3
Reply #25 - Aug 16th, 2008 at 11:06pm
Print Post  
Are you saying the bottom of the tabmenu.pl should look like this?


Code
Select All
	# Custom Page Mod 0.3 Menu Start 	 	my ($query, $pagetitle, $link, $guest, $cpmenu, $page, @pages);	  fopen(SET, "<$vardir/custompage.txt"); 	my @pages = <SET>; 	fclose(SET); 	 	if(@pages) { 		foreach $page (@pages) { 			($query, $pagetitle, undef, $link, undef, undef) = split(/\|/, $page); 			if($link == 1) { 				if($INFO{'custompage'} eq $query) { 					$yytabmenu .=qq~$tabsep<span onclick="location.href='$scripturl?custompage=$query';" class="selected"><a href="$scripturl?custompage=$query" title = "$pagetitle">$tabfill$pagetitle$tabfill</a></span>~; 				} else { 					$yytabmenu .=qq~$tabsep<span onclick="location.href='$scripturl?custompage=$query';"><a href="$scripturl?custompage=$query" title = "$pagetitle">$tabfill$pagetitle$tabfill</a></span>~; 				} 			} 		} 	} 	 	# Custom Page Mod 0.3 Menu End
	$yymcmenu .= qq~$tabsep~;
	$yytabmenu .= qq~$tabsep~;
}

1; 



just not as wide
  

www.omgot.org
65+ mods installed
Back to top
IP Logged
 
Captain John
Senior Member
****
Offline


Pass to Port !

Posts: 264
Location: Reno Beach
Joined: Jan 18th, 2007
Gender: Male
Re: Custom Page Mod 0.3
Reply #26 - Aug 27th, 2008 at 3:53am
Print Post  
The code should look like this at the bottom of TabMenu.pl
Code
Select All
	# Custom Page Mod 0.3 Menu Start

	my ($query, $pagetitle, $link, $guest, $cpmenu, $page, @pages);

	fopen(SET, "<$vardir/custompage.txt");
	my @pages = <SET>;
	fclose(SET);

	if(@pages) {
		foreach $page (@pages) {
			($query, $pagetitle, undef, $link, undef, undef) = split(/\|/, $page);
			if($link == 1) {
				if($INFO{'custompage'} eq $query) {
					$yytabmenu .=qq~$tabsep<span onclick="location.href='$scripturl?custompage=$query';" class="selected"><a href="$scripturl?custompage=$query" title = "$pagetitle">$tabfill$pagetitle$tabfill</a></span>~;
				} else {
					$yytabmenu .=qq~$tabsep<span onclick="location.href='$scripturl?custompage=$query';"><a href="$scripturl?custompage=$query" title = "$pagetitle">$tabfill$pagetitle$tabfill</a></span>~;
				}
			}
		}
	}

	# Custom Page Mod 0.3 Menu End
	$yymcmenu .= qq~$tabsep~;
}

1; 

  

Love to live and love on the water
Back to top
 
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Custom Page Mod 0.3
Reply #27 - Nov 28th, 2008 at 2:31pm
Print Post  
Is there a way James, to update these great mod for yabb 2.3.
I've tried to fix the steps, but it seem there is a problem with TabMenu.pl
If i upload these file the board goes down.

If there anybody here, who has run these mod on your own yabb 2.3 or anobody give me a hint to solve the problem ?

Thanks in advance
  

Greeting ThM
Back to top
 
IP Logged
 
Captain John
Senior Member
****
Offline


Pass to Port !

Posts: 264
Location: Reno Beach
Joined: Jan 18th, 2007
Gender: Male
Re: Custom Page Mod 0.3
Reply #28 - Nov 29th, 2008 at 1:12am
Print Post  
ThM  .. remove ..\..\public_html\yabbfiles\Templates\Forum\default.css  and the (2) edits just below (search/replace) from the MOD itself, run BoardMOD and after uploading use the TaB menu Add to go to the page ..
 I use it on Y2.2.3
  

Love to live and love on the water
Back to top
 
IP Logged
 
ThM
God Member
*****
Offline



Posts: 585
Location: Germany, Nds.
Joined: May 21st, 2006
Gender: Male
Re: Custom Page Mod 0.3
Reply #29 - Nov 29th, 2008 at 7:43am
Print Post  
I intend no publication. That is the small difference. There is nothing reprehensible to upadate a mod for their own purposes to adapt and there is no need for permission.

@CJ

Thanks for the hint, but the problem are not the entrys in the css file. Only i upload the modified TabMenu.pl the Board goes down .....

I will tried to compare the TabMenu.pl between 2.2.3 and 2.3

I've tried it without modification in TabMenu.pl and it run's now.
« Last Edit: Nov 29th, 2008 at 1:47pm by ThM »  

Greeting ThM
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 
Send TopicPrint