The BoardMod Project
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum
BoardMod Support Forum
[ Home | Help | Search | Login | Register ]  

07.09.10 at 21:43:30, Welcome, Guest. Please Login or Register

Choose Language:
Pages: 1 2 3 
Custom Page Mod 0.3 (Read 6963 times)
Derek Bullock
Fulltime Hacker
***
Offline

Brisbane, Queensland, Australia
Posts: 125



Reply #15 - 15.03.08 at 02:59:23  
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.
 
IP Logged
 

...
TrackerADC
Bloody Novice
*
Offline

Bullhead City, Arizona, USA
Posts: 19



Reply #16 - 20.03.08 at 18:25:26  
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)
 
IP Logged
 
ChiMoHe
Fulltime Hacker
***
Offline

, New Hampshire, USA
Posts: 171



Reply #17 - 28.03.08 at 03:26:31  
maybe ... but just move yabbfiles folder into yabb2 and will apply mod
 
IP Logged
 
nirok
Bloody Novice
*
Offline

Posts: 23



Reply #18 - 03.04.08 at 21:10:19  
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
 
IP Logged
 
Derek Bullock
Fulltime Hacker
***
Offline

Brisbane, Queensland, Australia
Posts: 125



Reply #19 - 04.04.08 at 11:15:33  
You need to open the mod file in notepad and just follow the instructions to modify the files step by step,
 
IP Logged
 

...
nirok
Bloody Novice
*
Offline

Posts: 23



Reply #20 - 05.04.08 at 23:51:54  
thanks Derek i'll give it a shot  Smiley
 
IP Logged
 
Captain John
Hacker Expert
****
Offline

Reno Beach, Ohio, USA
Posts: 250



Reply #21 - 08.04.08 at 05:33:56  
Installed No Problem ... Works Great!  Y2.2.1 "M" (w/CVS and Highly MODded)
 
IP Logged
 

Love to live and love on the water
TrackerADC
Bloody Novice
*
Offline

Bullhead City, Arizona, USA
Posts: 19



Reply #22 - 10.04.08 at 17:13:17  
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: 14.04.08 at 05:18:13 by TrackerADC »  
IP Logged
 
nirok
Bloody Novice
*
Offline

Posts: 23



Reply #23 - 10.04.08 at 23:55:37  
This was kinda mentioned in the posts on the first page.... paste the code before $yymcmenu .= qq~$tabsep~; at teh bottom
« Last Edit: 11.04.08 at 01:36:16 by nirok »  
IP Logged
 
Derek Bullock
Fulltime Hacker
***
Offline

Brisbane, Queensland, Australia
Posts: 125



Reply #24 - 08.06.08 at 10:00:10  
Works with YaBB 2.2.2 but manual installation required.
 
IP Logged
 

...
Fps_Brian
Fulltime Hacker
***
Offline

Beach Haven, New Jersey, USA
Posts: 108



Reply #25 - 16.08.08 at 23:06:56  
Are you saying the bottom of the tabmenu.pl should look like this?


Code:
	# 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
 
IP Logged
 

...
55+ mods installed
Captain John
Hacker Expert
****
Offline

Reno Beach, Ohio, USA
Posts: 250



Reply #26 - 27.08.08 at 03:53:33  
The code should look like this at the bottom of TabMenu.pl
Code:
	# 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;
 
IP Logged
 

Love to live and love on the water
ThM
Hacker God
*****
Offline

Germany, Nds., Niedersachsen, Germany
Posts: 536



Reply #27 - 28.11.08 at 14:31:49  
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
 
IP Logged
 

Greeting ThM
Captain John
Hacker Expert
****
Offline

Reno Beach, Ohio, USA
Posts: 250



Reply #28 - 29.11.08 at 01:12:59  
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
 
IP Logged
 

Love to live and love on the water
ThM
Hacker God
*****
Offline

Germany, Nds., Niedersachsen, Germany
Posts: 536



Reply #29 - 29.11.08 at 07:43:03  
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: 29.11.08 at 13:47:10 by ThM »  
IP Logged
 

Greeting ThM
Pages: 1 2 3 
© 2000-2009 by - All rights reserved.

SourceForge.net Logo
 The Project | News | Downloads | Mods | FAQ | Templates | Chat | Forum