View Single Post
  #5  
Old 30 Apr 2014, 00:00
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Originally Posted by TheLastSuperman View Post
Hmm not sure why it wouldn't unless the hook location is not present or similar but no I have not tested the above code I'm just going to say try this article and see if does the trick - it explains how to overwrite css based on certain conditions (or you can add-in/remove conditionals).

http://www.vbulletin.org/forum/showthread.php?t=3077394
Thanks, but yes the link is invalid as mentioned...!!

would you mind to provide the correct one?? Thanks

--------------- Added 30 Apr 2014 at 00:17 ---------------

can you kindly give an example, possibly I'm doing it wrong somewhere!!!

I tried changing the following though:

from this -->


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and of course defined the script in the .php file like this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then not sure where to add the last code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

any idea???

--------------- Added 30 Apr 2014 at 00:44 ---------------

ok, here is the whole story of what I'm up to just to avoid the confusion...

I wanted to have two pages of FORUMHOME where I can display some forums in one and other forums in the other one. I created a copy of forum.php file and named it aforum.php "exact copy", but changed any FORUMHOME inside the code to match the new copy FORUMHOME2.

I then created a template in all styles called "FORUMHOME2" exact copy of "FORUMHOME"

I could see almost everything there except that some plugins don't know what "FORUMHOME2" is... so they don't work on that page...

now I wanted to change the style of the new page "FORUMHOME2" so I created the plugin based on this article


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

but still the style didn't work.... I think I missed something here!!!

any idea??
__________________
Shoot me a PM if I didn't reply in your post when you needed help. I can't remember things easily

Last edited by fxdigi-cash; 30 Apr 2014 at 01:01.
Reply With Quote