Page Index Toggle Pages: 1 [2] 3 
There are no actions to perform.
Very Hot Topic (More than 25 Replies) Javascript:quicklinks not working (Read 5,234 times)
Captain John
Ex Member


Re: Javascript:quicklinks not working
Reply #15 - Dec 30th, 2010 at 6:21pm
There are no actions to perform.
On a site that is MODded, any replacement of pl or even template files will disable MODs.
  To do this correctly .. a New install should be made, setup completed, configuration done, then downloaded, MODded (with compatible Y2.5 MODs) and then reuploaded, then the old boards, members, messages and certain Variables copied into this New forum.
  
Back to top
 
IP Logged
 
Tysonmm
YaBB Newcomer
*
Offline



Posts: 44
Re: Javascript:quicklinks not working
Reply #16 - Dec 30th, 2010 at 8:04pm
There are no actions to perform.
I only have Custompages, EventCAL and the Imageshack mod.

Then the theme's and templates along with a rotation script for one of the banners on the top left of the page that uses the forum news function.  I don't know if that rotation part is part of Yabb or part of an additional script the former webmaster setup.

My concern is losing user accounts\posts\attached files\the 2 templates that have been edited.


Sent you a PM with a question.
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Javascript:quicklinks not working
Reply #17 - Dec 31st, 2010 at 8:51pm
There are no actions to perform.
Unilat wrote on Dec 23rd, 2010 at 3:20pm:
Try reuploading Load.pl, BoardIndex.pl, and YaBB.js from your initial install package.

áDone this by editing, so No MODs lost.

But no change, hovering over member display name shows Last Online time and javascript command on lower browser info bar, but isn't clickable.

áUnilat .. any other file needed, besides above ? áDisplay.template seems to be correct ... but noticed looking at source not correct.

His forum:
Code (HTML)
Select All
<div class="displaycontainer">
<table cellpadding="4" cellspacing="0" border="0" width="100%" class="bordercolor" align="center" style="table-layout: fixed;">
<tr>
	<td align="left" class="windowbg" valign="top" width="140">
		<a name="0"></a>
		<b>slowduty</b>

		<div class="small">
		Roost Bait<br />
		<img src="http://nwforddiesels.com/yabbfiles/Templates/Forum/default/starsilver.gif" border="0" alt="*" /><br />
		<span class="useroffline">Offline</span><br /><br />
		<img src="http://nwforddiesels.com/yabbfiles/avatars/blank.gif" name="avatar_img_resize_2" alt="" border="0" style="display:none" /><br />
		Member<br /><br />
		Posts: 19<br />

		Tacoma<br />



		</div>
	</td> 



Normal working source:
Code (HTML)
Select All
	<div class="small">
		<span class="small" style="float: left; line-height: 11pt; text-align: left; padding-right: 5px;">
		<a name="0"></a>
                <span STYLE="font-size: 14px;"><a href="javascript:void(AddText('[color=#0033cc]@[/color] [b]Captain John[/b]\r\n\r\n'))"><img src="http://cvs.com/Forum/yabbfiles/Templates/Forum/default/qquname.gif" border="0" alt="Paste User Name in Quick Reply Box" title="Paste User Name in Quick Reply Box" /></a> <div style="position:relative;display:inline-block">
			<ul id="ql7B7E7773741A01" class="QuickLinks" onmouseover="keepLinks('7B7E7773741A01')" onmouseout="TimeClose('7B7E7773741A01')">
				<li><span class="useronline">Online</span><a href="javascript:closeLinks('7B7E7773741A01')" style="position:absolute;right:3px"><b>X</b></a></li>

				<li><a href="http://cvs.com/Forum/YaBB.pl?action=viewprofile;username=7B7E7773741A0" rel="nofollow">View my Profile</a></li>
			</ul><a href="javascript:quickLinks('7B7E7773741A01')" title="Last online 14 days and 20:15:17 hours ago."><span style="color: red;"><b>Captain John</b></span></a></div></span>&nbsp;<span class="useronline">Online</span><br />
	    <b>Gender: <img src="http://cvs.com/Forum/yabbfiles/Templates/Forum/default/male.gif" border="0" alt="male" title="male" /><br /></b>
            I love YaBB 2.2.1 !<br />
            The Land of YaBB<br /><br />
Occupation: Stink Boater &nbsp;

               </span>
	</div>
 

« Last Edit: Dec 31st, 2010 at 8:59pm by »  
Back to top
 
IP Logged
 
Unilat
Development Team
Theme Team
****
Offline



Posts: 1,047
Location: Columbus Ohio, USA
Re: Javascript:quicklinks not working
Reply #18 - Dec 31st, 2010 at 9:07pm
There are no actions to perform.
Well I think that big difference is because he has quicklinks turned off in the admin center. I remember looking at his source and the problem was the id of the div has a ql in front of it, and he new javascript used to take "ql" plus a number as an argument, whereas now it takes just the number as an argument and adds the "ql" when it does the getElementById(). The problem was either his was passing the ql and the javascript didnt need it, or his was was not passing the ql and the javascript did need it. Just a descrepancy between the file versions.

If you enable the quicklinks in the admin center and I get a look at the code I should be able to tell you which it is and what changes to make.
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Javascript:quicklinks not working
Reply #19 - Dec 31st, 2010 at 9:11pm
There are no actions to perform.
Unilat wrote on Dec 31st, 2010 at 9:07pm:
he has quicklinks turned off in the admin center.

  I turned back on .....

Unilat wrote on Dec 31st, 2010 at 9:07pm:
was the id of the div has a ql in front of it, and he new javascript used to take "ql" plus a number as an argument, whereas now it takes just the number as an argument and adds the "ql" when it does the getElementById(). The problem was either his was passing the ql and the javascript didnt need it, or his was was not passing the ql and the javascript did need it.

  I added that to his files ...
  
Back to top
 
IP Logged
 
Unilat
Development Team
Theme Team
****
Offline



Posts: 1,047
Location: Columbus Ohio, USA
Re: Javascript:quicklinks not working
Reply #20 - Dec 31st, 2010 at 10:00pm
There are no actions to perform.
Okay. Remove visibility: hidden, from .QuickLinks in the stylesheet. That is the last change that was made between whatever version he has and the newest. That will do the trick.
  
Back to top
 
IP Logged
 
Captain John
Ex Member


Re: Javascript:quicklinks not working
Reply #21 - Dec 31st, 2010 at 10:52pm
There are no actions to perform.
That worked !  But popup wouldn't close, when X clicked.
  
Back to top
 
IP Logged
 
Tysonmm
YaBB Newcomer
*
Offline



Posts: 44
Re: Javascript:quicklinks not working
Reply #22 - Jan 1st, 2011 at 12:25am
There are no actions to perform.
Quote:
That worked ! áBut popup wouldn't close, when X clicked.


Ya Weird,  Now all the users usernames in all the posts have the boxes open. Mouseover isn't functioning.
  
Back to top
 
IP Logged
 
Unilat
Development Team
Theme Team
****
Offline



Posts: 1,047
Location: Columbus Ohio, USA
Re: Javascript:quicklinks not working
Reply #23 - Jan 1st, 2011 at 12:49am
There are no actions to perform.
It should have display:none in the .QuickLinks. Maybe I didn't notice that it wasn't there. Mouseover should work. It worked when I was toying with it before I said to remove the visibility.
  
Back to top
 
IP Logged
 
Tysonmm
YaBB Newcomer
*
Offline



Posts: 44
Re: Javascript:quicklinks not working
Reply #24 - Jan 1st, 2011 at 1:10am
There are no actions to perform.
Keeping issues in one thread per request.

Issues other than javascript:quicklinks

in Admin, the only way you can get to the installed mods is by clicking on "Detailed Version Check" then it allows you to scroll down to select mod to edit.  Maybe same issue as initial issue or something wrong with the admin panel?

CustomPages mod doesn't work either.  They all drop you to the main page of the forum.

The Help Function isn't showing help items, unless I did not add the items to the right column correctly.

Example of link for custom pages
http://nwforddiesels.com/cgi-bin/yabb2/YaBB.pl?custompage=cps
all pages are located at cgi-bin/yabb2/Variables/pages

As I recall it working before,  is someone typed cps in their thread, it would then link to the above link so folks who were not familiar with the CPS unit, they could then read up on it.
  
Back to top
 
IP Logged
 
Unilat
Development Team
Theme Team
****
Offline



Posts: 1,047
Location: Columbus Ohio, USA
Re: Javascript:quicklinks not working
Reply #25 - Jan 1st, 2011 at 1:19am
There are no actions to perform.
Checking the forum and using the dev tools in my browser disabling the visibility hidden aspect of the .QuickLinks works fine for me. All of the quicklinks appear on the page at once (which would be fixed if you add display:none to the .QuickLinks) and hovering and the x button work properly. Just need to remove the visibility line and add display: none to the class and it should work fine.
  
Back to top
 
IP Logged
 
Tysonmm
YaBB Newcomer
*
Offline



Posts: 44
Re: Javascript:quicklinks not working
Reply #26 - Jan 1st, 2011 at 3:54am
There are no actions to perform.
i turned off the quicklinks in admin panel so people could read the posts as it was covering up the first few words in each post.
  
Back to top
 
IP Logged
 
Unilat
Development Team
Theme Team
****
Offline



Posts: 1,047
Location: Columbus Ohio, USA
Re: Javascript:quicklinks not working
Reply #27 - Jan 1st, 2011 at 5:35am
There are no actions to perform.
You didn't make the change to the stylesheet? That would fix it all. Am I an admin so I can make the change?
  
Back to top
 
IP Logged
 
Unilat
Development Team
Theme Team
****
Offline



Posts: 1,047
Location: Columbus Ohio, USA
Re: Javascript:quicklinks not working
Reply #28 - Jan 1st, 2011 at 9:17pm
There are no actions to perform.
Works now with the change that I suggested  Wink
  
Back to top
 
IP Logged
 
Tysonmm
YaBB Newcomer
*
Offline



Posts: 44
Re: Javascript:quicklinks not working
Reply #29 - Jan 2nd, 2011 at 1:40am
There are no actions to perform.
I don't know code, so without step by step exact directions,  I wouldn't be able to make that edit.

My add tabs function is now gone. ??   Huh
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 
There are no actions to perform.