CODE Tags and Mentioning

Results 1 to 8 of 8
  1. #1
    Moderator GigaToni is offline
    ModeratorRank
    Aug 2009 Join Date
    GER / FRLocation
    1,990Posts

    CODE Tags and Mentioning


    RaGEZONE Recommends

    RaGEZONE Recommends

    In my opinion this shouldn't happen:

    Code:
    -- update session key/id
    	declare   @SessionKey varchar(50) = NEWID()
    	declare   @SessionID int = checksum   @SessionKey)
    	if exists (SELECT CustomerID FROM LoginSessions WHERE CustomerID =   @CustomerID)
    	begin
    		UPDATE LoginSessions SET 
    			SessionKey   @SessionKey, 
    			SessionID   @SessionID,
    			LoginIP=@in_IP, 
    			TimeLogged=GETDATE(), 
    			TimeUpdated=GETDATE()
    		WHERE CustomerID   @CustomerID
    	end
    	else
    	begin
    		INSERT INTO LoginSessions
    			(CustomerID, SessionKey, SessionID, LoginIP, TimeLogged, TimeUpdated)
    		VALUES 
    			   @CustomerID,   @SessionKey,   @SessionID, @in_IP, GETDATE(), GETDATE())
    	end
    It just mentions people what actually code is.


  2. #2
    Custom title enabled ChewBecca is offline
    LegendRank
    Oct 2005 Join Date
    Low Wycombe, CLocation
    7,843Posts

    Re: CODE Tags and Mentioning

    @MentaL did you see this at all?







  3. #3
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,439Posts

    Re: CODE Tags and Mentioning

    @GigaToni @ChewBecca @MentaL

    Work around. (Solution to get around this issue)
    Put the @ Symbol itself in Bold Block.

    Here is bolded:
    Code:
    -- update session key/id
    	declare   @SessionKey varchar(50) = NEWID()
    	declare   @SessionID int = checksum   @SessionKey)
    	if exists (SELECT CustomerID FROM LoginSessions WHERE CustomerID =   @CustomerID)
    	begin
    		UPDATE LoginSessions SET 
    			SessionKey   @SessionKey, 
    			SessionID   @SessionID,
    			LoginIP=@in_IP, 
    			TimeLogged=GETDATE(), 
    			TimeUpdated=GETDATE()
    		WHERE CustomerID   @CustomerID
    	end
    	else
    	begin
    		INSERT INTO LoginSessions
    			(CustomerID, SessionKey, SessionID, LoginIP, TimeLogged, TimeUpdated)
    		VALUES 
    			  @CustomerID,   @SessionKey,  @SessionID, @in_IP, GETDATE(), GETDATE())
    	end
    Last edited by DNC; 17-12-15 at 07:50 PM.
    If you are talking to someone pretending to be me aka DNC, you're about to be scammed.
    Do not come to this forum complaining that you were scammed; when buying, selling, trading files is against forum rules.
    Don't point a finger at me, I am not talking with anyone.

  4. #4
    Custom title enabled ChewBecca is offline
    LegendRank
    Oct 2005 Join Date
    Low Wycombe, CLocation
    7,843Posts

    Re: CODE Tags and Mentioning

    Dude. I can't do anything. I'm not admin. Lolwat







  5. #5
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,439Posts

    Re: CODE Tags and Mentioning

    @ChewBecca I just figured since you posted here I'd add you for shits n giggles. :D


    - - - Updated - - -

    Put the @ symbol inside Bold blocks [ B ]@[ /B ]

    Only the @ symbol

    - - - Updated - - -

    You can do this with the # symbol as well.
    Like #Test
    If you are talking to someone pretending to be me aka DNC, you're about to be scammed.
    Do not come to this forum complaining that you were scammed; when buying, selling, trading files is against forum rules.
    Don't point a finger at me, I am not talking with anyone.

  6. #6
    Death from above! The General is offline
    The OmegaRank
    Aug 2011 Join Date
    8,850Posts

    Re: CODE Tags and Mentioning

    Should be done the neat way but just ignoring [code] blocks.
    If you are using Arcturus, contact me
    Skype: wesley.jabbo
    Discord: TheGeneral#0063

  7. #7
    Developer DNC is offline
    DeveloperRank
    Oct 2011 Join Date
    2,439Posts

    Re: CODE Tags and Mentioning

    I don't have access to fixing that, nor do I believe the forum has that option.
    At least there is a way around it.

    - - - Updated - - -

    Generally only happens with code.
    You generally are copying the code from source to the posted code block.
    Takes 1 minute to paste it into notepad++
    Search-Replace all instances of @ symbol with [ B]@[/B ] same with # symbol.
    Copy / paste into post.
    If you are talking to someone pretending to be me aka DNC, you're about to be scammed.
    Do not come to this forum complaining that you were scammed; when buying, selling, trading files is against forum rules.
    Don't point a finger at me, I am not talking with anyone.

  8. #8
    C# - Java - Notepad Ben is offline
    ModeratorRank
    Jul 2013 Join Date
    BelguimLocation
    1,228Posts

    Re: CODE Tags and Mentioning

    Highly suggest that it should ignore it in the code block.... if possible ofcourse, not everyone knows that when you put it in bold it doesn't say the name though thx for that DNC :p




Advertisement