vForums Support Banner



 

Welcome Guest! Please Login or Register
vForums Support :: vForums :: Report a Bug :: Resolved Bugs :: Stick/Unsticky - View Topic
Topic Rating: *****
Printable View
Dreg[Bot]
Moderator
*****

[Avatar]
Broken

Posts: 415
Status: Offline
Gender: Male
Age: 37
Joined:  

Additional Groups:
Coding Team
***


Reputation: 14%  


pm
Stick/Unsticky (9th Jan 08 at 6:00am UTC)
On this page, when you sticky something it confirms and converts the button to unsticky, but...it doesn't unsticky the topic.

Now refresh the stickied page and try the unstick button, it works, but the image won't change and when you click again you get a JS error.


Yes, i click the sticky/unsticky over and over again for fun.


Image

Now obsession rules my mind
This commotion makes me blind
Searching out who ever runs
Or has stolen away my life

But i've already said

Don't ever back down
Don't ever turn around
My end has come
So now I come for you....

Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 9 14
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: Stick/Unsticky (9th Jan 08 at 9:34am UTC)
What's "This Page" supposed to refer to? And what browser are you using.

Image
Michael
Moderator
*****

[Avatar]
Recoding the future

Posts: 4,043
Status: Offline
Gender: Male
Location: UK
Joined:  

Additional Groups:
Coding Team
***


Reputation: 58%  


pmtwittervForum
Re: Stick/Unsticky (9th Jan 08 at 4:06pm UTC)
view thread page! {Smile}
Dreg[Bot]
Moderator
*****

[Avatar]
Broken

Posts: 415
Status: Offline
Gender: Male
Age: 37
Joined:  

Additional Groups:
Coding Team
***


Reputation: 14%  


pm
Re: Stick/Unsticky (9th Jan 08 at 5:08pm UTC)
Yupyup, this page as in this posts viewing page
And me using FireFox {Smile}


Image

Now obsession rules my mind
This commotion makes me blind
Searching out who ever runs
Or has stolen away my life

But i've already said

Don't ever back down
Don't ever turn around
My end has come
So now I come for you....

Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 9 14
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: Stick/Unsticky (9th Jan 08 at 5:46pm UTC)
OK, I see what you mean now. Same is happening in IE. Not sure of the cause but I'll look at it some more later.

Image
Dreg[Bot]
Moderator
*****

[Avatar]
Broken

Posts: 415
Status: Offline
Gender: Male
Age: 37
Joined:  

Additional Groups:
Coding Team
***


Reputation: 14%  


pm
Re: Stick/Unsticky (9th Jan 08 at 11:40pm UTC)
From what i'm seeing its not liking the eval() part much. I THINK. i'm not sure i haven't tested, tho im wondering why you append the script for sticky and unsticky, can't they be one function with a varaiable to switch the images and onclick? then you could use it for Announcements too.


Image

Now obsession rules my mind
This commotion makes me blind
Searching out who ever runs
Or has stolen away my life

But i've already said

Don't ever back down
Don't ever turn around
My end has come
So now I come for you....

Ross
Administrator
*****

[Avatar]

Posts: 3,709
Status: Offline
Gender: Male
Age: 9 14
Joined:  

Additional Groups:
Support Team
***


Reputation: 45%  


pmwwwtwittergtalkvForum
Re: Stick/Unsticky (9th Jan 08 at 11:49pm UTC)
 
From what i'm seeing its not liking the eval() part much. I THINK. i'm not sure i haven't tested, tho im wondering why you append the script for sticky and unsticky, can't they be one function with a varaiable to switch the images and onclick? then you could use it for Announcements too.


I may just rewrite the entire AJAX section to optimize it and prepare it for the next level of AJAX features. Might be easier.

Image
Dreg[Bot]
Moderator
*****

[Avatar]
Broken

Posts: 415
Status: Offline
Gender: Male
Age: 37
Joined:  

Additional Groups:
Coding Team
***


Reputation: 14%  


pm
Re: Stick/Unsticky (9th Jan 08 at 11:54pm UTC)
Aye ! {Cheesy}

Also i noticed the Poll and check messages length code is in the functions, might as well put in the add_ubbc() function too, so then if people later make codes that will have UBBC it will be available globally. Maybe even a get_id() function? I mean everything has ID s after all.

{Lips Sealed} i'll save them for suggestions tho XD


Image

Now obsession rules my mind
This commotion makes me blind
Searching out who ever runs
Or has stolen away my life

But i've already said

Don't ever back down
Don't ever turn around
My end has come
So now I come for you....

 Printable View

All times are GMT+0 :: The current time is 1:26am
Page generated in 0.2878 seconds
This Forum is Powered By vForums (v2.4)
Create a Forum for Free | Find Forums